You might want to consider using Alien Bob's scripts to handle the rsync
command.
http://www.slackware.com/~alien/

But.. for a quick and dirty solution the following should work


The syntax is
rsync [opts] [remote path] [local path]

While people have strong opinions on this one, here's the command I use:
$ rsync -rvh https://rsync.osuosl.org/pub/slackware/slackware64-14.2/
/path/to/local/folder/slackware64-14.2/

Make sure you create a slackware64-14.2 folder to put it in and specify the
full path to it. My approach is unusually explicit since I hate getting
tripped up by rsync's interpretation of /
Pay attention to the / at the end of the paths. Rysnc is very particular
about that when copying folders or their contents and if you aren't careful
it puts files in unexpected subdirectories. That's why you want to wrap it
in a script, like the one I linked above.


On Wed, Nov 6, 2019 at 11:09 AM Rich Shepard <[email protected]>
wrote:

> On Wed, 6 Nov 2019, Galen Seitz wrote:
>
> > rsync is probably a better option.
> > https://rsync.osuosl.org/pub/slackware/
>
> Galen,
>
> My apologies: it looks like a better option because wget is mirroring the
> entire slackware/ directory tree.
>
> When I used
>
>   wget --mirror -e robots=off https://rsync.osuosl.org/pub/slackware/14.2/
> .
>
> the entire directory tree subdirectories were downloaded first thing.
> Trying
> rsync failed because it could not recognize https://.
>
> I've not found the proper command line syntax to download only the
> slackware64-14.2/ contents.
>
> What would be the appropriate command line?
>
> Regards,
>
> Rich
>
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to