Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Moving, copying and renaming files with new tool

by siberia-man (Friar)
on Aug 14, 2019 at 09:22 UTC ( [id://11104437]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    file-rename 's/^[^.]+\.//; s/\.[^.]+$//' ...
    
  2. or download this
    file-rename 's/^/sprintf "%02d. ", $NR/' ...
    
  3. or download this
    file-rename -Tutf8 '$_ = ucfirst' -f ...
    
  4. or download this
    file-rename 's/^/old-/' -N ../*
    
  5. or download this
    file-rename --rename=rotate-left file1 file2 file3 file4
    
  6. or download this
    file-rename --rename=rotate-right file1 file2 file3 file4
    
  7. or download this
    file-rename --rename=swap file1 file2 file3 file4
    
  8. or download this
    file-rename --rename=flip file1 file2 file3 file4
    
  9. or download this
    #!/usr/bin/env perl
    
    ...
    # ====================================================================
    +=====
    
    # EOF
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://11104437]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found