renaming both pictures and movies in the same way

Started by dudedude, July 05, 2011, 04:37:29 PM

Previous topic - Next topic

dudedude

Hi,

I've been using exif to rename my photos per what was stated in https://exiftool.org/forum/index.php/topic,3307.0.html .  I thought it would also rename avi files in the same way (example of input file:   MVI_6761.AVI) but it leaves avi files alone.  Is there anyway to rename all files (images and movies) in one command such as the one stated in above entry - i.e.:
exiftool "-FileName<CreateDate" -d "%Y%m%d_%H%M%S.our_hawii_vacation.%%e" DIR

Dan

Phil Harvey

...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 ($).