T
Tor Rest
This is the scenario:
I have the following ZIP files in a directory. The numbers represent
versions (the highest number is the latest version of the file).
mercury001.zip
mercury002.zip
mercury003.zip
venus122.zip
venus123.zip
venus124.zip
mars005.zip
mars006.zip
mars007.zip
I wanted to keep the latest version and move (copy and delete) the rest to
an archive directory. The directory should only contain the following
files:
mercury003.zip
venus124.zip
mars007.zip
I am a novice PERL developer. How do I accomplish this? Would appreciate
some examples. Thanks!
Tor
I have the following ZIP files in a directory. The numbers represent
versions (the highest number is the latest version of the file).
mercury001.zip
mercury002.zip
mercury003.zip
venus122.zip
venus123.zip
venus124.zip
mars005.zip
mars006.zip
mars007.zip
I wanted to keep the latest version and move (copy and delete) the rest to
an archive directory. The directory should only contain the following
files:
mercury003.zip
venus124.zip
mars007.zip
I am a novice PERL developer. How do I accomplish this? Would appreciate
some examples. Thanks!
Tor