5 Comments


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

    Reply

  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 :).

    Reply
  3. sean

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

    Reply
    • 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
      Reply

Leave a Reply

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