google / skicka

Command-line utility for working with Google Drive. Join the mailing list at https://groups.google.com/forum/#!forum/skicka-users.
Apache License 2.0
1.3k stars 118 forks source link

Add dry-run mode (like rsync -n) #101

Closed agoode closed 8 years ago

agoode commented 8 years ago

Having a dry-run mode is useful in verifying a command before running it. It is also helpful when deleting files: dry run can allow you to delete locally, then do a dry-run download to see what to delete remotely.

mmp commented 8 years ago

Done. Let me know if you have any comments/suggestions about the formatting.

Note that the files are printed to stdout but regular logging stuff goes to stderr, so it should be fairly easy to extract / munge as needed.