Page 1 of 1

merging files/folder with similar name

Posted: Thu Sep 21, 2006 6:38 pm
by merle
Extreme NEWB here:Merging
files/folder with similar name

I have a folder that has a lot of files (pdf and txt and
html) that are very similar.
For example I have:
c:\recipes
in the recipes folder I have files all about apples
some may be named "apple, pie - best home made.txt"
the next named "apple, pie - secret of the best.pdf"I would like to have it look at the first word, second word and then create a
folder called apple, pie and then merge them into apple, pie folder. If there
is a folder already made called "apple, pie - recipes of the best" I
would also like it to move it into the root folder of "apple, pie"
Then if it comes to the next recipe named "cherry, pie - best home
made.txt"
and the next named "cherry, pie - secret of the best.pdf"
to once again have it : look at the first word, second word and then create a
folder called cherry, pie and then merge them into cherry, pie folder. if there
is a folder already made called "cherry, pie - recipes of the best" I
would also like it to move it into the root folder of "cherry, pie"
and of course if  finds a dupe that it
just over right the file\folderThanks ever so much.Merle

merging files/folder with similar name

Posted: Fri Sep 22, 2006 7:44 am
by Oleg
Very interesting problem. I'll try to write the task some later, OK?

But there will be some restrictions:
   - names of files must contain more than two words;
   - first two words must define the category of file.

merging files/folder with similar name

Posted: Fri Sep 22, 2006 11:49 am
by merle
Thanks that would be great. And as you listed of the restrictions would work out for me!

merging files/folder with similar name

Posted: Sat Sep 23, 2006 8:40 am
by Oleg
See this task. It moves files from "c:\incoming" folder to "c:\recipes" into corresponding subfolders.

merging files/folder with similar name

Posted: Sat Sep 23, 2006 8:44 am
by Oleg
Also you can attach "File monitor" event to the task in order to force RoboTask to sort files automatically.

merging files/folder with similar name

Posted: Sat Sep 23, 2006 10:38 am
by merle
Works great! I have it adding a coma now between the first two names.I have already have quite a few folders that have recipes in them. When I put the existing folders into the folder c:\incoming.So it would look like this c:\incoming\a whole lot of folders it does not search the subfolders.It would be great if I could have it look there!Thanks

merging files/folder with similar name

Posted: Sun Sep 24, 2006 12:34 am
by Oleg
No problem. Just turn on the "Include subfolders" checkbox in "File loop" action.

I thought that this setting is not needed.