Archive the file from C: to D: drive

Discuss RoboTask here
Post Reply
gunta
Posts: 6
Joined: Thu Mar 13, 2008 2:59 am
Location: Thailand

Archive the file from C: to D: drive

Post by gunta »

Hi all
I have the problem about archive the file on my C: drive to D: Drive
I use the structure
File loop (for select the file older then 1 day)
   Copy/Move File (Enable Move option and Recure to Subfolder)
End Loop
But the file on D: Drive is not contain the old folder structure.
How can I move the file with the folder structure.
 
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Archive the file from C: to D: drive

Post by Oleg »

Look at the "Synchronize folders" action. It is more comfortable for backups. It copies only newest files and saves the folder structure.
For backups you may use unidirectional synchronization.
We use this action for our backups too.
gunta
Posts: 6
Joined: Thu Mar 13, 2008 2:59 am
Location: Thailand

Archive the file from C: to D: drive

Post by gunta »

But I want to remove the old file after I archive It
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Archive the file from C: to D: drive

Post by Oleg »

"Synchronize folders" overwrites old files in destination folder. Thus, you always have the newest version of your files.
gunta
Posts: 6
Joined: Thu Mar 13, 2008 2:59 am
Location: Thailand

Archive the file from C: to D: drive

Post by gunta »

But I want to delete the old file after archive for free disk space and I want to leave the current file is not older than one day.
Last edited by gunta on Tue Aug 19, 2008 3:50 am, edited 1 time in total.
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Archive the file from C: to D: drive

Post by Oleg »

No problem. Put the "delete files" action after synchronization.
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Archive the file from C: to D: drive

Post by Oleg »

You may to do the following:

Synchronize folders
File loop (for select the file older then 1 day)
   delete File
End Loop
gunta
Posts: 6
Joined: Thu Mar 13, 2008 2:59 am
Location: Thailand

Archive the file from C: to D: drive

Post by gunta »

How can I know what file name will be synchronize by this function.
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Archive the file from C: to D: drive

Post by Oleg »

"Synchronize folders" doesn't inform you what files it copied.
Post Reply