Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Batch file renaming - on identical name, keep only most recent file, based on dates

by Lotus1 (Vicar)
on Nov 06, 2019 at 04:55 UTC ( [id://11108347]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    
    output file:
    Table_-_2007522_XYZ_W3.pdf
    
  2. or download this
    8_2007_5_22_22_34_12_Table_-_2007522_XYZ_W3.pdf
    --Table_-_2007522_XYZ_W3.pdf
    ...
    7_2007_12_22_15_34_23_Table_-_20071222_XYZ_W3.pdf
    --Table_-_20071222_XYZ_W3.pdf
    
  3. or download this
    7_2007_12_22_15_34_23_Table_-_20071222_XYZ_W3.pdf
    --Table_-_20071222_XYZ_W3.pdf
    ...
    8_2007_5_22_22_34_12_Table_-_2007522_XYZ_W3.pdf
    --Table_-_2007522_XYZ_W3.pdf
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11108347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found