LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Easy edit for Eric's repository mirror script to download only x86_64 14.0 packages? (http://www.linuxquestions.org/questions/slackware-14/easy-edit-for-erics-repository-mirror-script-to-download-only-x86_64-14-0-packages-4175433773/)

damgar 10-23-2012 11:12 PM

Easy edit for Eric's repository mirror script to download only x86_64 14.0 packages?
 
I had at one point used an ugly lftp command to just download the 32 bit packages from Eric's restricted slackbuilds packages. It worked semi well. Since finding his mirror repo script I would like to use this the same way that I use his mirror slackware current script automagically from a cron job, but it seems like a terrible waste of his bandwidth and mine to mirror the entire repo when all I really want kept in sync are the 14.0 64 bit packages at this point.

Is there an easy edit to get only the packages I need synced. The repo structure doesn't seem to lend itself to this, which I'm sure makes uploading new packages much easier for him which of course I totally respect.

Alien Bob 10-24-2012 04:03 PM

If you add "--exclude=pkg64" parameter to the rsync command you are using, you will end up with just the 32-bit packages plus source.

Eric


All times are GMT -5. The time now is 01:21 PM.