Hello!
I'm a newbie of scripting, really starting to like it! I need some scripting help, anyone out there who can help?
I am looking for three scripting functions:
1. usage: Code:
collectfiles <sourcefolder> <destfolder> <extensionlist>
This script would walk through all folders in <sourcefolder> and whenever it finds a file with an extension matching any extension in <extensionlist>, the file will be moved to <destfolder>
example: Code:
collectfiles . myMovies avi,mov
2. usage: Code:
spacify <sourcefolder>
This script would walk through all folders in <sourcefolder> and whenever it finds a file or directory having a name that contains underscore ('_') it will be replaced with a space (' ').
3 usage: Code:
capitalize <sourcefolder>
This script would walk through all folders in <sourcefolder> and for every folder and file each word in it's name will be capitalized, i.e. the first letter of the word will be changed to upper case.
example: Code:
capitalize my\ folder
will result in the folder changing name to 'My Folder'.
Be my hero, show me a solution to these!