Share your knowledge at the LQ Wiki.
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, 11:40 AM   #1
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

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, 12:01 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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, 12:05 PM   #3
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

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 09:53 AM
gnu make recompiles the source files fully even though the files are not modified yasothamani Linux - Software 4 02-07-2007 06:36 AM
performance issue: rsync sends existing files microtim Linux - Networking 1 12-02-2004 02:27 AM
differences between files alaios Linux - General 2 11-15-2004 09:34 AM
Differences between files? kryptobs2000 Linux - Software 1 06-22-2004 04:28 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:31 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration