Help to Rename files in Nested Folders

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
ADSaL
Posts: 2
Joined: 21 Jul 2013, 17:54

Help to Rename files in Nested Folders

Post 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.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Help to Rename files in Nested Folders

Post by rednoah »

Let's see...

Code: Select all

filebot -help
Maybe the -r option?

Code: Select all

-r                                     : Resolve folders recursively
:idea: Please read the FAQ and How to Request Help.
ADSaL
Posts: 2
Joined: 21 Jul 2013, 17:54

Re: Help to Rename files in Nested Folders

Post by ADSaL »

Thanks that did it.
New to scripting but want to learn more. Recommend any website or paper reading material to start with?
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Help to Rename files in Nested Folders

Post 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. ;)
:idea: Please read the FAQ and How to Request Help.
Post Reply