Rename folder name based on file name.
Posted: Wed Jan 18, 2017 12:12 pm
Greetings,
I need some help, inside folder "A" there are many folders named like 01.MP3,02.MP3,03.MP3.... and also inside folder "A" there are many pdf files named with their actual names, 01.Filename.pdf,02.Filename.pdf,03.Filename.pdf...
Is it possible to rename the folders using the PDF file names and copy the pdf file into the folder? I.E., folder 01.mp3 will become folder 01.Filename and the file 01.Filename.pdf will go to the folder 01.Filename.
I really appreciate any help.
Thanks,
Peter
I need some help, inside folder "A" there are many folders named like 01.MP3,02.MP3,03.MP3.... and also inside folder "A" there are many pdf files named with their actual names, 01.Filename.pdf,02.Filename.pdf,03.Filename.pdf...
Is it possible to rename the folders using the PDF file names and copy the pdf file into the folder? I.E., folder 01.mp3 will become folder 01.Filename and the file 01.Filename.pdf will go to the folder 01.Filename.
I really appreciate any help.
Thanks,
Peter