PDA

View Full Version : sync mirror not deleting empty folders


02-Apr-2004, 06:51 PM
Guys,

Running the following:
load "D:\My Documents" "E:\My Documents - Backup"
expand all
sync visible mirror:lt->rt

I would have thought that a mirror creates an exact copy. I noticed when I delete a folder on the left, only the files within that folder are deleted on the right.
I added:

select rt.empty.folders
delete rt

to get around this problem. Am I missing an option to delete empty folders on the sync?

Thanks

Chris
05-Apr-2004, 01:41 PM
Try this instead:

load "D:\My Documents" "E:\My Documents - Backup"
sync mirror:lt->rt

I think it is the visible in your command that isn't deleting the empty folders. The sync command by default affects all files and subfolders in the folder loaded.

If you want empty folders from the left side to be created on the right, the line should read:
sync create-empty mirror:lt->rt

05-Apr-2004, 05:05 PM
Chris,

Thanks