Renaming multiple files with ‘rename’ command


The syntax for the rename command is:

rename [ -v ] [ -n ] [ -f ] perl_expression [ files ]

to rename for example multiple photo files with ‘.JPG’ extension to ‘.jpg’ extension:

rename -v ’s/\.JPG$/\.jpg/’ *.JPG

No Posts Found

Tags:

Leave a Reply

You must be logged in to post a comment.