YOMAMA Suspended 6218 Posts user info edit post |
There was post on here a while back about using shell to read a directory and then download everything with the X extension.
Anyone? I looked and didnt see it. 2/8/2006 6:38:59 PM |
Excoriator Suspended 10214 Posts user info edit post |
foreach file in `ls -ltr directory | awk '{print $9}' | grep X` do cp $file .; done; 2/8/2006 7:54:20 PM |
YOMAMA Suspended 6218 Posts user info edit post |
nope that aint it.
It was to read a remote dir then suck all files that were under that. We did it to this site to try to get all the images so maybe thats why the thread is gone. 2/8/2006 8:16:04 PM |
split All American 834 Posts user info edit post |
I don't know about doing it within the shell, but check out curl 2/9/2006 8:56:50 AM |
YOMAMA Suspended 6218 Posts user info edit post |
Curl?
ohh do tell? 2/9/2006 10:12:37 AM |
moron All American 34142 Posts user info edit post |
there's also gurl and wget . 2/9/2006 10:22:35 AM |
YOMAMA Suspended 6218 Posts user info edit post |
I have googled but have yet to find an example of how to do this again.
It's now just a matter of principle to get it done! 2/9/2006 2:54:50 PM |