ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: locka on September 30, 2010, 11:06:49 PM

Title: move file into folder and rename
Post by: locka on September 30, 2010, 11:06:49 PM
I know this should be straight forward but I need move and rename some recoverd nef files.  I need to rename the files like the following

"-filename<DSC_$Filenumber"

and put them in strucuture ie 2010/Jan/01

-r -d %Y/%b/%d

But for the life of me I can only get one or other to work on the command line not both together.
Title: Re: move file into folder and rename
Post by: Phil Harvey on October 01, 2010, 07:15:30 AM
Try this:

exiftool "-filename<$createdate/DSC_$Filenumber.%e" -r -d %Y/%b/%d -ext nef DIR

where DIR is the name of the directory containing the images.

(Note: On Mac/Linux use single quotes instead of double quotes around arguments containing a "$" symbol)

- Phil
Title: Re: move file into folder and rename
Post by: locka on October 01, 2010, 09:52:04 AM
thanks ill test