Any Bash guys out there can tell me how to do this...
I want to read an ftp site (
ftp://ftp.slackware.com/pub/slackwar...12.2/slackware)
...and download the sub-directory structure and
ONLY the tagfiles to the local directory.
FROM THIS:
Code:
slackware
+--a
| |\aaa_base-12.2.0-noarch-1.tgz
| |\aaa_base-12.2.0-noarch-1.tgz.asc
| ...
| |\tagfile
| |\tar-1.16.1-i486-1.tgz
| ...
|
+--ap
| |\a2ps-4.13b-i386-2.tgz
| |\a2ps-4.13b-i386-2.tgz.asc
| ...
| |\tagfile
| |\texinfo-4.13a-i486-2.tgz
| ...
...
TO THIS:
Code:
slackware
+--a
| \tagfile
|
|
+--ap
| \tagfile
|
|
...
I tried wget + grep but that didn't work too well.