Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a way to tell rsync to skip its current file while a sync is in progress, maybe by sending it a particular signal?

I already know about ignoring based on patterns, but this would be handy to me sometimes.

share|improve this question

3 Answers 3

up vote 3 down vote accepted

I'm not familiar with such functionality, and the manual page for the current version doesn't make mention either. Short of browsing thru the source looking for "hidden features" that aren't mentioned in the manual page I think it's safe to assume that there's not any such functionality.

I agree, though, that it sounds like it could be a handy feature.

share|improve this answer

I always kill rsync (control-c) and re-run with an --exclude option and possibly --delete. Since rsync leaves the destination directory partially updated, the second run should be faster because you can essentially start where you left off.

You might also look at the partial-dir option for large files.

share|improve this answer

Sadly, the answer is "no", but there is a Bug Report in the rsync Bugzilla requesting this enhancement. Maybe someday...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.