LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-10-2007, 03:09 PM   #1
Slim Backwater
Member
 
Registered: Nov 2005
Distribution: Slackware 10.2 2.6.20
Posts: 68

Rep: Reputation: 15
rsync leaving partial files if interrupted


This has finally bugged me just enough to ask how to solve it.

If I interrupt an RSYNC process a partial file gets left behind. It's usually a hidden file, a dot, the file name and a random suffix.

I don't know why the partial file is left around, if I restart the transfer it doesn't resume, so how do I get rsync to clean up if it's interrupted?

Thanks for any insights!
 
Old 04-10-2007, 03:26 PM   #2
Slim Backwater
Member
 
Registered: Nov 2005
Distribution: Slackware 10.2 2.6.20
Posts: 68

Original Poster
Rep: Reputation: 15
Ahhh it's a bug

I see now that it's a bug.

http://rsync.samba.org/ftp/rsync/rsync-2.6.9-NEWS

I thought I'd seen this this behaviour forever, but the comment is "...it will once again clean-up its temp file from the destination dir." so I'm left wondering when it broke?

Anyone have the syntax handy to find and rm these? I'm thinking something like find -name ".*.??????" -exec echo {} \; replacing the echo with rm -vi if the list looks good.

Thanks,

._.
 
  


Reply


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
LXer: Novell Files Motion for Partial Summary Judgment LXer Syndicated Linux News 0 12-02-2006 10:54 PM
Rsync duplication files TheBrick Linux - General 2 08-03-2006 07:15 AM
What files to exclude when using rsync TongueTied Linux - General 2 07-20-2006 08:39 PM
Yum is not creating partial files rustybubbles2k Linux - Newbie 1 03-30-2005 01:44 PM
Partial/Corrupt Files in Disk Cache Crito Linux - Software 0 03-11-2004 02:13 AM


All times are GMT -5. The time now is 07:04 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