Page 1 of 1

Rename files

Posted: Mon Dec 12, 2005 5:08 am
by steph@vds
Hi,

I wonder if Robotask can easily rename old files when moving newer to the same location.
I work with files that need to be updated very often.
I tried a software at sourceforge called Winmerge (directories compare
software). When the soft synchronized two directories, the old files
are renamed ".bak" then ".bak2" and so on.

It's a very interesting behaviour because the new files always have the
original name and then all the softwares that use these files never
have broken links.
(The newer files are moved with a filelist created in Robotask)

Is a parallel task needed ?

Regards.
steph@vds

Rename files

Posted: Mon Dec 12, 2005 5:59 am
by Oleg
RoboTask have Synchronize folders action, but don't keep old files. It copies new files over old.
If you want to keep old files, I think that it is possible to write a task or basic script.

Rename files

Posted: Mon Dec 12, 2005 11:25 pm
by steph@vds
Hi Oleg,

I resolved my problem :
I create a file list with the newer files (in c:\A for example)
Then I modify this list with notepad (replace c:\A by c:\B). c:\B is where my old files are.
And I rename those files by adding .old
The solution has to be found with our own imagination.

Thanks.