Page 1 of 1

Moving files from 900 folders into 1 folder

Posted: Sun Oct 06, 2013 12:10 pm
by andrewferguson
Hello,
I have about 10 folders each with about 300 more folders in them. Each one of these of these 300 folders contains files. About 90% of the files in these folders are the same, but the remaining 10% are different.
What I need LiveCode to do is to take all the files in these folders, and put them all in one folder. This should also mean that there are no duplicates because they will get replaced.
Any ideas?
Thanks,
Andrew

Re: Moving files from 900 folders into 1 folder

Posted: Sun Oct 06, 2013 3:23 pm
by jmburnod
Hi andrew,

Have a look to revCopyFile or rename, files, defaultfolder

Best regards
Jean-Marc

Re: Moving files from 900 folders into 1 folder

Posted: Sun Oct 06, 2013 4:47 pm
by andrewferguson
Hi,
Thanks, I think I have got it working now.
Andrew