renaming files

Started by pedroparamo, November 25, 2013, 04:14:52 PM

Previous topic - Next topic

pedroparamo

How can I rename a folder of files whose names are 11182013-1.JPG_original etc. back to their original names i.e. 11182013-1.JPG or in other words delete the _original extension on each file name?

Thanks.

Pedro paramo

Phil Harvey

Hi Pedro,

exiftool -restore_original DIR

where "DIR" is the name of the folder.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

pedroparamo

Where 'DIR' is the path to the folder? i.e.

exiftool -restore_original c:theFolder

thanks.

Phil Harvey

You can just drag and drop the folder onto the command window if it is easier for you.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).