SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I like to keep a fairly fresh mirror of slackware-current on my network, for various reasons. I noticed that over a short period of time, the iso I create from it has gotten too big to fit on a CD. I started digging and the reason became quickly obvious. My mirror has all versions of every file since I started rsync'ing! Is there a way to update slackware-current without having to blow away my entire mirror every time I want to get in sync?
An example:
aaa_lib_2.4.26_1.tgz
aaa_lib_2.4.26_2.tgz
aaa_lib_2.4.26_3.tgz
are all updates of the same libs. How can I just update what's there to the latest, keeping only the latest file (and filename)
This would save me lots of bandwidth as well, because only the differences would be brought over with rsync vs. the entire file.
With the "--delete" option, rsync simply makes it a real mirror of the site you are mirroring. Without it you are leaving old files on your hd.
It checks if there is local files that not exist on the remote site, and delete them if there is. And ofcourse otherwise.
[root@*] [~]# more /usr/local/sbin/mirrorslackware
rsync -a -v --delete rsync://rsync.slackware.no/slackware/slackware-current /home/ftp/pub/mirrors/slackware/
Originally posted by Norinett
With the "--delete" option, rsync simply makes it a real mirror of the site you are mirroring. Without it you are leaving old files on your hd.
It checks if there is local files that not exist on the remote site, and delete them if there is. And ofcourse otherwise.
[root@*] [~]# more /usr/local/sbin/mirrorslackware
rsync -a -v --delete rsync://rsync.slackware.no/slackware/slackware-current /home/ftp/pub/mirrors/slackware/
Works fine.
Works fine !?
Trust me "ln -s" between FILE_LIST and FILELIST.TXT is necessery
[i]
[root@*] [~]# more /usr/local/sbin/mirrorslackware
rsync -a -v --delete rsync://rsync.slackware.no/slackware/slackware-current /home/ftp/pub/mirrors/slackware/
Works fine. [/B]
Actually I am mirroring from slackware.no likewise and using --delete option and few daya ago someone on that server deleted complete slackware-current directory and rsync deleted everything from my disk also....
Pretty frustrating.....$@#%@#^%$#$^@...damn
Originally posted by AxeZ Actually I am mirroring from slackware.no likewise and using --delete option and few daya ago someone on that server deleted complete slackware-current directory and rsync deleted everything from my disk also....
Pretty frustrating.....$@#%@#^%$#$^@...damn
I am keeping two repositories on my HD now
Strange... I mirror it daily, and that has not happend to me..
Originally posted by zulik So on seriously, why you need the whole ?
I use it in cobination to mkisofs and cdrecord to make my own boot cd's based on slackware-current. I build new systems offline with it. I keep it current, well, to keep it current.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.