ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: HansS713 on October 02, 2010, 01:19:23 PM

Title: How can I rename/move unknown files?
Post by: HansS713 on October 02, 2010, 01:19:23 PM
I use ExifTool (as intended) to rename/move my *.jpg files (thanks for this useful tool). But there are also other files where I would do the same thing. If I only use the three writable "pseudo" tags (FileName, Directory and FileModifyDate), ExifTool could/should process any file, but this is not the case. E.g.:

exiftool "-FileName<FileModifyDate" -m -d %Y%m%d_%H%M%S_%%f.%%e test.txt

gives:
Error: Unknown file type - test.txt
    0 image files updated
    1 files weren't updated due to errors


Is there some trick to perform the rename in this case - if not could this be added in some future versions?
Title: Re: How can I rename/move unknown files?
Post by: Phil Harvey on October 02, 2010, 08:11:29 PM
Good suggestion.  I will downgrade this error to a warning if you are copying system tags from an unknown file.  So you should be able to do this with ExifTool 8.33 when it is released.

- Phil
Title: Re: How can I rename/move unknown files?
Post by: HansS713 on October 05, 2010, 06:22:38 PM
That's perfect, thanks a lot.

Hans