Symlinks
Dominic Mitchell
dom at happygiraffe.net
Tue Feb 12 11:32:03 GMT 2002
On Tue, Feb 12, 2002 at 03:09:03AM +0000, Rik wrote:
> Enter zsh. I kid you not, I resorted to using zsh's zftp client. Why?
> Client side globbing.
>
> zmodload zftp
> zftp open cr.yp.to anonymous foo at bar.org
> zftp cd daemontools
> for file in `zftp ls`; do
> zftp get $file > $file
> done
> zftp close
You may find it easier to put "autoload -U zfinit ; zfinit" in your
/etc/zshrc. Then you can do:
zfanon cr.yp.to
zfcd daemontools
for file in `zfls` ; do
zfget $file
done
zfclose
Which is slightly more readable. :-)
-Dom
More information about the Ukfreebsd
mailing list