move file to folder X depending 1st lette

Discuss RoboTask here
Post Reply
ryan
Posts: 14
Joined: Wed Aug 24, 2011 4:10 pm

move file to folder X depending 1st lette

Post by ryan »

I am a total noob with rbotask and was hoping someone
would be able to do this for me...

I would like to have robotask scan a folder c:/movies and
move folders in that file to x:/backups

BUT I would like to move them to different folders in my
backups drive depending on the first letter of the folder

Example:

Folder begins with the letter A or B move to x/backups/A-
B

Folder begins with the letter C or D move to
X:/backups/C-D

and so on all the way to Z

Does anyone feel generous to write this and upload the
finished script. I would be willing to send $20 Paypal
if your interested ;)

Thanks!
Oleg
Site Admin
Posts: 3201
Joined: Thu Jan 01, 1970 1:00 am
Contact:

move file to folder X depending 1st lette

Post by Oleg »

Do you want to move files or folders with files and
subfolders?
Last edited by Oleg on Sun Dec 02, 2012 5:56 pm, edited 1 time in total.
ryan
Posts: 14
Joined: Wed Aug 24, 2011 4:10 pm

move file to folder X depending 1st lette

Post by ryan »

I would like to move the folder and files in the folder.
it is mostly for my movie backups so.

Move: c:movies/Its a wonderfull life/movie.avi

will move to x:/backups/I-J/Its a wonderfull life/movie.avi


Does that make sense?
Oleg
Site Admin
Posts: 3201
Joined: Thu Jan 01, 1970 1:00 am
Contact:

move file to folder X depending 1st lette

Post by Oleg »

Download the example here.
This task works with any folders on different disks too.
If you need to change SOURCE and DESTINATION folders you can make this in steps #1 and #2
ryan
Posts: 14
Joined: Wed Aug 24, 2011 4:10 pm

move file to folder X depending 1st lette

Post by ryan »

Excellent I will try it later today
Post Reply