rename files in multiple folders and sub-folders

Started by Archive, May 12, 2010, 08:54:29 AM

Previous topic - Next topic

Archive

[Originally posted by snah on 2008-12-21 22:57:48-08]

Hello Phil

I would like to rename files located in one folder and its many sub-folders.

I got the command for renaming the files in one folder, but I don't succeed when I move up one folder.

This is the command I am currently using. It renames the files to 'DateTimeOriginal.X3F' (just the way I want the result to be):

Code:
exiftool "-FileName<${DateTimeOriginal}.x3f" -d %Y-%m-%d_%H-%M-%S *.x3f

How would I have to enter the command so that all files in folder '\11_27 Death Valley\' (and its sub-folders) will get renamed to 'DateTimeOriginal.X3F'?

Is there a switch like -r (recursively) or do I have to provide a filelist?

Many Foldernames contain spaces.

Help is highly appreciated, many thanks in advance.

Hans

Archive

[Originally posted by exiftool on 2008-12-21 23:40:30-08]

Hi Hans,

It is done like this:

Code:
exiftool "-FileName<${DateTimeOriginal}.x3f" -d %Y-%m-%d_%H-%M-%S -ext x3f -r "\11_27 Death Valley"

- Phil

Archive

[Originally posted by snah on 2008-12-22 01:09:58-08]

Thanks Phil,

wish you happy holidays, Hans.

Archive

[Originally posted by jezeuspr on 2008-12-22 06:58:58-08]

Hello

We take a different approach towards advertising printers and printer ink cartridges of brands like Brother, Canon, HP & more. Calculating the true costs of printer ownership over lifespan will give you some interesting information. Printer.com puts buying a printer and ink cartridges in a different perspective.

We want to know what you think of this approach, is it informative? yes? no? If you have some time to share your opinion please help us better serve our customers.

Thank you

Eric R
Printer.com