Rename files

Discuss RoboTask here
Post Reply
steph@vds
Posts: 46
Joined: Tue Nov 29, 2005 11:27 pm
Location: France

Rename files

Post 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
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Rename files

Post 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.
steph@vds
Posts: 46
Joined: Tue Nov 29, 2005 11:27 pm
Location: France

Rename files

Post 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.
Post Reply