mrmohamed / gdocbackup

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

Remove local copy if a file is no longer on Google Docs #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
An enhancement: I'd like to have an option to remove a local copy of a file if 
it is no longer available on Google Docs, so that my offline version is a 
proper mirror of the online situation.

- A file may have moved to another folder
- Or it may have been deleted because it's obsolete

Original issue reported on code.google.com by rolfkl...@gmail.com on 20 Jul 2011 at 11:46

GoogleCodeExporter commented 9 years ago
Very dangerous. 
In the past I've thought about the same feature but I have decided to not 
implement it. It's too dangerous. A wrong feed from Google will erase local 
files. Or if you point to a local wrong directory I will remove all your files 
and subdirectories.
I consider a warning system. See [issue 3].

Original comment by fht...@gmail.com on 20 Jul 2011 at 5:34

GoogleCodeExporter commented 9 years ago
Too bad... any "sync" system has this risk. (I actually use a local version 
control system and I make backups to deal with this risk.)

Without this feature, gdocbackup doesn't provide a proper backup because I 
cannot restore the current situation of my Google Docs from my local copy.

My current work-around is to regularly just throw away all files in my local 
copy to make a fresh new copy, but by now that is starting to take quite some 
time.

I added a comment to [issue 3]

Original comment by rolfkl...@gmail.com on 22 Jul 2011 at 10:46

GoogleCodeExporter commented 9 years ago
Some points:

 - GDocBackup has a wrong name. Sorry.  It should be "GDocExporter" or similar.

 - Backup + Restore only works with "custom" user files not with Google Documents, Spreadsheets and Presentations. If you take a Google Document, export it (to .doc or to other format) and then you import it, the new one is different from the original one. Try it. 

 - sometime the feed from Google has "strange behaviour" (it's a bit complex to explain in few words). So the risk is to delete local files when they must not be deleted. Believe me  :)

 - actually I have prblems with items in more than one folder (tag) and with items from other users (when you open a document of other users and it then appers in your document list).

(see my comment in [issue 3])

Original comment by fht...@gmail.com on 23 Jul 2011 at 6:48