Page 1 of 1

Help to Rename files in Nested Folders

Posted: 21 Jul 2013, 18:03
by ADSaL
Here is a copy of my current code and it works well with one exception.
It will not rename files that are Nested deeper then one folder inside my 01-Downloaded folder.

ex.: Script will process movie flies in /Users/aaaaa/Downloads/Transmission/Movies/01-Downloaded/ and in /Users/aaaaa/Downloads/Transmission/Movies/01-Downloaded/Conan/
but not if files are located in /Users/aaaaa/Downloads/Transmission/Movies/01-Downloaded/Conan/2012/

How can I have it work for all movie files located in all folders nested in /Users/aaaaa/Downloads/Transmission/Movies/01-Downloaded/

I was certain that the * tag I have would do this.

Code: Select all

/Applications/Utils/Filebot.app/Contents/MacOS/filebot -rename /Users/aaaaa/Downloads/Transmission/Movies/01-Downloaded/* --format "/Users/aaaaa/Downloads/Transmission/Movies/{n} {y}" --db IMDb -non-strict
Thanks for the help.

Re: Help to Rename files in Nested Folders

Posted: 22 Jul 2013, 04:19
by rednoah
Let's see...

Code: Select all

filebot -help
Maybe the -r option?

Code: Select all

-r                                     : Resolve folders recursively

Re: Help to Rename files in Nested Folders

Posted: 22 Jul 2013, 12:57
by ADSaL
Thanks that did it.
New to scripting but want to learn more. Recommend any website or paper reading material to start with?

Re: Help to Rename files in Nested Folders

Posted: 22 Jul 2013, 13:07
by rednoah
Well, this is really just how to use the terminal, i'd barely call that scripting. Try google and see what comes up. ;)