Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-22-2011, 12:27 PM   #1
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Rep: Reputation: 16
Syncing two device's data with something faster than rsync?

Using rsync for syncing files from the one Linux device to another is very slow. And I imagine it's not the best option for doing so, because I don't care about copying over only the bits that have changed because most of the time the changes are file adds/removes. (i.e. if a file has changed, I don't care that the whole file needs to be copied over)

So do I have any other options for syncing? Somewhere I read that maybe the cp command with the -u flag could achieve the same result but with faster transfer speeds - is this the case? (The only problem though is that the device I'm transferring from has an old version of cp that has no -u option, but I'm guessing could mount both devices from my laptop which does have the -u option in cp...) But I also read that if I use the -u and -r options together, it defeats the purpose because if a file has changed the whole directory's timestamp has changed and therefore everything gets copied...

Basically I'm wondering what options I have that are faster than using rsync for syncing?
Old 11-22-2011, 01:27 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Copying only the bits that have changed speeds-up the copy, it doesn't slow it down. You have the option in rsync to ignore timestamps or file size checks as well.


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
Faster rsync -aH for large directories? pilotmm Linux - Software 15 07-04-2011 07:43 PM
[SOLVED] rsync -z vs. scp ... which one is faster over network? someshpr Linux - General 5 12-08-2010 06:06 PM
[SOLVED] Which is better: cp or rsync for local syncing/coping robertjinx Linux - Server 6 12-03-2010 09:13 AM
Auto syncing folder from Linux to Windows, SCP/Rsync? batfastad Linux - Software 2 11-26-2010 02:08 AM
Syncing two partitions on different systems (rsync?) alk77 Linux - Software 2 07-15-2008 12:39 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration