Post Reply  Post Thread 
Scripting help
Author Message
zorpia.tushar12
Super Moderator
******


Posts: 61
Group: Super Moderators
Joined: Feb 2008
Status: Offline
Reputation: 0
Thank 0
0 was given thank in 0 posts
Post: #1
Scripting help

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!

02-19-2008 08:07 PM
Find all posts by this user Quote this message in a reply Windows XP/2003Unknown
Rate Post
Current rating : 0.0  
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: