riverstore / onesync

Automatically exported from code.google.com/p/onesync
0 stars 0 forks source link

Deleted files are not reflected in destination, but restored in source directory #154

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. "Source", "Destination" and "Intermediate" directories created.
2. 2 jobs created: TestStore - Sync Source Directory "Source", Intermediate 
Directory "Intermediate"; and TestSync - Sync Source Directory "Destination", 
Intermediate Directory "Intermediate"
3. Changing a file in "Source" is reflected in the file in "Destination" when 
both sync jobs are run - good.
But...

What is the expected output? What do you see instead?
Deleting an unwanted file in "Source" - I expect it to be deleted in 
"Destination" too, but instead it is restored to "Source" - bad

What version of the product are you using? On what operating system?
One Sync 3. Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by tonydavi...@googlemail.com on 24 Jul 2011 at 6:22

GoogleCodeExporter commented 9 years ago
I have the same problem.

I found that when this problem happens, the "File Path" on preview is 
"\test.txt"
I think this strange \ has something to do with this problem.

Original comment by t.suga324@gmail.com on 16 Nov 2011 at 10:50

GoogleCodeExporter commented 9 years ago
Sorry I have to add some information.
Windows Vista Ultimate SP2 32bit (Japanese)

Original comment by t.suga324@gmail.com on 16 Nov 2011 at 11:27

GoogleCodeExporter commented 9 years ago
I managed to sort this. It occurred with me because OneSync saves a copy of the 
changed or deleted file in a hidden _gsdata_ folder on the side where the 
change is about to take place! So the file will continue to be seen & displayed 
by OneSync, though its location will have changed. Very confusing.

Go to Job/Options and uncheck "Save deleted/replaced files,last version only"; 
then, if necessary, use Job/Delete_gsdata_folders, and hopefully all will be 
well.

It seems very strange that OneSync does this by default for 1-Way jobs.

The Help file contains this under "Job Options":
Save deleted/replaced files, last version only (checked by default) 
If checked, then GoodSync saves a file just before replacing this file with a 
newer version or deleting this file. The file is saved to _gsdata_\_saved_ 
folder on the side of the job where the replacement/deletion is about to occur. 
Only the most recent version of the file (the one just before the current 
version) is retained. 
Note that _gsdata_ is a hidden folder, so you must check Show Hidden Files 
option in Windows Explorer if you want to see contents of this folder. 
If not checked then the replaced/deleted files are removed once and for all. 

Hope this works for you, t.suga

Original comment by tonydavi...@googlemail.com on 17 Nov 2011 at 11:37