ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: marlar on November 29, 2011, 04:08:41 AM

Title: Auto rename on conflicting file names
Post by: marlar on November 29, 2011, 04:08:41 AM
I often use the "move to date folder" feature to organize my pictures. Sometimes there is a name conflict though, so I would very much like a general option for ExifTool which will adjust the filename if there is a conflict.

For example, if there is a file already called Img_8042.jpg the moved file would be called Img_8042b.jpg or the like.

Thanks for a great tool btw!

Ps. Why is it not in the Linux repositories?
Title: Re: Auto rename on conflicting file names
Post by: Phil Harvey on November 29, 2011, 07:17:15 AM
Quote from: marlar on November 29, 2011, 04:08:41 AM
I often use the "move to date folder" feature to organize my pictures. Sometimes there is a name conflict though, so I would very much like a general option for ExifTool which will adjust the filename if there is a conflict.

For example, if there is a file already called Img_8042.jpg the moved file would be called Img_8042b.jpg or the like.

You can add %lc to the file name to do exactly this (ie. "-filename<$createdate/%f%lc.%e")

QuoteThanks for a great tool btw!

You're welcome! :)

QuotePs. Why is it not in the Linux repositories?

Linux repositories?

- Phil