Dynamic output directory for file copy/rename

Advanced Renamer forum
#1 : 14/10-20 21:44
David Hyde
David Hyde
Posts: 2
Hi,

I'm copying/renaming thousands of image files using a .csv import that I would like to file based on a given job name. Is it possible to dynamically create the output directory based on an attribute field in the .csv e.g <orig_name>,<new_name>, <job_name>

Thanks
David


14/10-20 21:44
#2 : 15/10-20 09:03
David Lee
David Lee
Posts: 542
You will need to import your csv file twice (in the same batch).

First run Import -> Files from CSV... to import the old filenames and rename them.
Then run Import -> Data from CSV... which will generate tags based on the columns in the csv file.
Finally set Batch mode: Move and set your Output folder based on the tag <csv:3>

For example, simply setting Output folder = <csv:3> will move each renamed file into a sub-folder named as the corresponding value in column 3 of the csv file, created in the folder containing the original file.


15/10-20 09:03
#3 : 15/10-20 09:31
David Hyde
David Hyde
Posts: 2
Reply to #2:


Hi David,

Thanks for the quick reply! I'll give this a go.

Thanks again
David


15/10-20 09:31