LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-22-2011, 12:27 PM   #1
veeruk101
Member
 
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
macemoneta
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: 344Reputation: 344Reputation: 344Reputation: 344
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:16 PM.

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