Deleting files, keeping a few
Inspired by this post, how it works in PowerShell:
will delete all but the most recent 3 files ending in ".log"; and it would be the same sort of thing in any scripting language.
Diary, commentary, reviews, snippets to preserve on-line
Inspired by this post, how it works in PowerShell:
will delete all but the most recent 3 files ending in ".log"; and it would be the same sort of thing in any scripting language.
Previous instalments at Life before Blogging.
Forum Administrator : EvaGeeks.org — An Evangelion Fan Community
Copyright © Steve Gilham, 2003-2013
This work is licensed under a Creative Commons License.
Code snippets released under the WTFPL
No comments :
Post a Comment