How can i automatically move files based on their name?

Posted by Pasha on Super User See other posts from Super User or by Pasha
Published on 2012-06-26T13:36:58Z Indexed on 2012/06/26 15:18 UTC
Read the original article Hit count: 277

Filed under:

I have 13 folders containing scanned photographs. Some photographs have been renamed to the date on which they were taken, resulting in YYYY.MM.DD.tif name. It could potentially be YYYY.MM.DD (###).tif where ### is just a number. Others are just named IMG_###.tif

I would like to move the files with the YYYY.MM.DD name to a YYYY\MM\DD folder structure.

While the files are being moved, I would also like to append the original folder name to the end of the file name.

So, a file 01\2012.06.26 (1).tif should end up 2012\06\26\2012.06.26 (1) - 01.tif

Is there a Windows tool that can help me with this? Or do I need to resort to writing a custom app?

© Super User or respective owner

Related posts about file-moving