I am making a synchronization between a local and a remote folder. It happened that I lost one file by a stupid command.

I am used to unison and to the way you confirm ("go?") before doing the actual file transfer.

Is there such an option with rsync? (no unison on the server side)

Thanks!

link|improve this question
feedback

1 Answer

You can use the -n option with rsync to perform a dry run. rsync will tell you what operations it would have performed without actually doing them. If you're happy with the results, re-run without the -n option.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.