Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


Search this Thread
Old 06-04-2008, 12:40 PM   #1
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 443

Rep: Reputation: 30
[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.


Old 06-04-2008, 01:01 PM   #2
Registered: Jan 2001
Posts: 24,147

Rep: Reputation: 212Reputation: 212Reputation: 212
From the man page:
-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.
Old 06-04-2008, 01:05 PM   #3
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 443

Original Poster
Rep: Reputation: 30
haha thanks,

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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add existing files to existing imported kdevelop project?? santana Programming 1 05-22-2007 10:53 AM
gnu make recompiles the source files fully even though the files are not modified yasothamani Linux - Software 4 02-07-2007 07:36 AM
performance issue: rsync sends existing files microtim Linux - Networking 1 12-02-2004 03:27 AM
differences between files alaios Linux - General 2 11-15-2004 10:34 AM
Differences between files? kryptobs2000 Linux - Software 1 06-22-2004 05:28 PM

All times are GMT -5. The time now is 07:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration