LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   [rsync] get the differences between the source files and the existing files (https://www.linuxquestions.org/questions/linux-networking-3/%5Brsync%5D-get-the-differences-between-the-source-files-and-the-existing-files-646991/)

djgerbavore 06-04-2008 11:40 AM

[rsync] get the differences between the source files and the existing files
 
I want to know the amount of data that rsync will transfer over before rsync actually does the transfer. (like a --pretend flag)
The reason is because if the transfer is going to be large I might wait and do it later, and if the transfer is only a few megabytes then I might do the rsync now instead of later.

thanks,

djgerbavore

trickykid 06-04-2008 12:01 PM

From the man page:
Code:

-n, --dry-run              show what would have been transferred
You'll probably need the -v option as well for verbose output to see the files and total size of the supposed transfer.

djgerbavore 06-04-2008 12:05 PM

haha thanks,

I swear I read the whole man page for rsync. Sorry for the noise.
thanks!

djgerbavore


All times are GMT -5. The time now is 05:20 PM.