Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

With SyncToy on Windows, I can preview what it will do to my files before commiting the changes. Is it possible to do the same with rsync or something similar?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

Use this command line option:

-n, --dry-run               perform a trial run with no changes made
share|improve this answer
    
I guess I cant do that same with a GUI tool? like grsync? –  Jiew Meng May 26 '11 at 14:27
    
oh to do it in grsync just add -n in the Additional Options Tab > Textarea –  Jiew Meng May 28 '11 at 2:59
add comment

There is a tool called unison that builds on rsync. It provides two-way synchronization with the ability to track deletes. Check your repos or find source/binaries below:

http://www.cis.upenn.edu/~bcpierce/unison/

share|improve this answer
    
unison do not builds on rsync, only use a transfer protocol that is in part derived from that of rsync. –  enzotib May 22 '11 at 7:29
    
Well, we are both partly right. Unison uses a protocol similar to rsync: "It is careful with network bandwidth, and runs well over slow links such as PPP connections. Transfers of small updates to large files are optimized using a compression protocol similar to rsync." cis.upenn.edu/~bcpierce/unison Unison uses the same rsync algorithm for transfers: alliance.seas.upenn.edu/~bcpierce/wiki/… –  os2firefox Nov 19 '11 at 22:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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