LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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, 11: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: 201Reputation: 201Reputation: 201
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, 11:59 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,638

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

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
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-14-2012, 12:09 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,638

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
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, 01:07 AM   #5
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Thank you on both points.
 
  


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


All times are GMT -5. The time now is 04:52 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration