LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-13-2012, 10:47 PM   #1
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
mirror_slackware_current.sh: does it resume if interrupted?


Just what the title says. I used to use the script as a cron job and just let it do it's thing. I am using today because I had a disk failure and I just want to re-install -current without risking leaving junk behind because of some of the new and newly organized packages from 13.37. My question is this: if the script gets interrupted will it resume it's download or will it start over from the beginning clobbering all the files already downloaded? If it does in fact resume, will this hold true even if the remote uri is changed?

Thank you.
 
Old 07-13-2012, 10:59 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
make sure you use -P in rsync parameter so that it will continue from the last progress
 
Old 07-13-2012, 11:03 PM   #3
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949

Original Poster
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Originally Posted by willysr View Post
make sure you use -P in rsync parameter so that it will continue from the last progress
Would that look something like:
Code:
sh mirror-slackware-current.sh -X -P none -o DVD
 
Old 07-13-2012, 11:09 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
no, add -P inside your mirror-slackware-current.sh in rsync command
Code:
$RSYNC --delete -rlptDP
i think it's easier to use AlienBOB's rsync_current script if you just want to mirror Slackware-Current
 
Old 07-14-2012, 12:07 AM   #5
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949

Original Poster
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Thank you on both points.
 
  


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
How to resume an interrupted wget using wget.log? misterJ Linux - Software 2 06-19-2011 01:21 PM
How do I resume interrupted download ? pppaaarrrkkk Linux - Newbie 6 09-30-2007 11:28 AM
How can I resume a download with Firefox if Connection is interrupted? Balarabay1 Linux - Software 1 10-04-2006 04:56 PM
Resume interrupted frugal_lite install poqui DamnSmallLinux 0 03-19-2006 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:34 AM.

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