9.22a clears OneDrive folder when launched with the /S switch
Posted: 2019-08-19, 11:30 UTC
I have been using TC for years to automate backups to my flash drive. I created a sync profile in the Synchronize directories dialog to sync particular folders on my D: drive and then use it like this:
C:\Tools\totalcmd\TOTALCMD64.EXE /S=S:="Flash Drive Backup"
("Flash Drive Backup" is the name of my sync profile).
All worked flawlessly until I've recently added the OneDrive folder to the folder list to sync. Now, when I launch TC with this profile as described above, the contents of my OneDrive folder is simply deleted on the target device!
I tried to sync the OneDrive folder on my pc with its counterpart on the flash drive manually using the same dialog. If I mark this folder when I see the list of root folders on my drive D: and use the 'Only selected' options in the sync dialog, I get the same problem. However, if I open the contents of the OneDrive folder in the left pane and its counterpart on the flash drive in the right pane, and then do the synchronization of all folders, it works properly in this mode.
So, it seems, it is a bug in TC, when it can't sync properly folders marked for sync if the 'Only selected' option in the Synchronize directories dialog set.
FYI:
1) I'm using a non-standard location for the OneDrive folder. I moved it to D:\OneDrive using the corresponding OS system folder relocation feature from the folder properties dialog.
2) The OneDrive folder is displayed as <LNK> in details mode in TC, wheares all other 'normal' folders are displayed as <DIR>.
3) Doing all this in the latest Windows OS, which is Windows 10 Pro x64 v1903.
C:\Tools\totalcmd\TOTALCMD64.EXE /S=S:="Flash Drive Backup"
("Flash Drive Backup" is the name of my sync profile).
All worked flawlessly until I've recently added the OneDrive folder to the folder list to sync. Now, when I launch TC with this profile as described above, the contents of my OneDrive folder is simply deleted on the target device!
I tried to sync the OneDrive folder on my pc with its counterpart on the flash drive manually using the same dialog. If I mark this folder when I see the list of root folders on my drive D: and use the 'Only selected' options in the sync dialog, I get the same problem. However, if I open the contents of the OneDrive folder in the left pane and its counterpart on the flash drive in the right pane, and then do the synchronization of all folders, it works properly in this mode.
So, it seems, it is a bug in TC, when it can't sync properly folders marked for sync if the 'Only selected' option in the Synchronize directories dialog set.
FYI:
1) I'm using a non-standard location for the OneDrive folder. I moved it to D:\OneDrive using the corresponding OS system folder relocation feature from the folder properties dialog.
2) The OneDrive folder is displayed as <LNK> in details mode in TC, wheares all other 'normal' folders are displayed as <DIR>.
3) Doing all this in the latest Windows OS, which is Windows 10 Pro x64 v1903.