1. Hey, this made my day! Lot easier than find exec etc.


  2. I just found that adding is actually pretty easy. I wanted to append artist name to the front of every file in a folder of music by an artist so I just did:

    rename 's//artistname-/' *.mp3

    Easier than I expected :).

  3. sean

    that's remove and replace characters, is there a way to add

    • Linerd

      @Sean - There may be a better way, but you can still add characters using the replace feature. Say you wanted to add leading zeros to the numbers in the files above.

      rename 's/r_/r_0/' *.txt

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.