LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-30-2012, 02:23 PM   #1
crontab
Member
 
Registered: Jun 2005
Distribution: Various
Posts: 72

Rep: Reputation: 15
is it possible to skip the file currently being transfered by rsync?


Hi, LQ. This is something that's been bugging me for a few years and I finally decided to ask.

I'm copying data from a backup drive back to the original, and while I did exclude some stuff (like *.iso), there's occasionally some huge file that I missed. For example:

Code:
Downloads/DATA1.CAB
  1782579200 35%   23.07MB/s    0:01:13 (xfer#38047, to-check=1010/44230)
So now I'm annoyed because, while I know rsync won't transfer files twice, it'll still verify all the files that came before. That process could take another ten minutes before it gets back to where I canceled it. It'd be cool if you could just tell it to skip that file and move onto the next one on-the-fly.

I'm curious to see if anyone else has ever had this happen, and if you do anything about it or just bite the bullet and wait.
 
Old 12-30-2012, 02:40 PM   #2
notsure
Member
 
Registered: Jun 2012
Location: Detroit
Distribution: Arch x86_64
Posts: 109

Rep: Reputation: 9
I would cancel, omit the files you don't want and rsync with -u switch to only copy newer files.
 
Old 12-30-2012, 03:08 PM   #3
g_germkiss
LQ Newbie
 
Registered: Dec 2012
Posts: 5

Rep: Reputation: Disabled
i use the --exclude option with rsync, especially since i don't have a remote location to save my backup, and i don't want to backup the backup folder - which to me sounds like it would create a recursive backup loop until my harddrive is full! the man page can help you out with its usage.
 
  


Reply

Tags
rsync


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
[SOLVED] How to tell rsync to skip older files? Clarkman Linux - Software 3 04-19-2012 02:47 PM
Cannot read file transfered from window to linux via rsync ufmale Linux - Newbie 1 07-26-2009 07:03 AM
rsync syntax to skip directory, but copy select files.. tnicol Linux - Software 3 07-24-2007 06:40 AM
How to make RSYNC skip a directory due to error message ArchW Linux - Networking 5 07-13-2006 11:26 AM
rsync: monitor amount transfered to server hamish Linux - Networking 1 01-13-2005 02:04 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration