Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
recursive globbing, filename spaces and xargs
- X-seq: zsh-users 8384
- From: William Scott <wgscott@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: recursive globbing, filename spaces and xargs
- Date: Mon, 17 Jan 2005 07:14:54 -0800 (PST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi:
One of the things that I haven't been able to figure
out is how to deal with the error one gets when using
ls **/*
on a well-populated directory with lots of subdirectories.
zsh: argument list too long
If I do this when there are no filename spaces, it works:
echo **/* | xargs ls
but if there are spaces, it fails, and I can't seem to figure
out how to quote or escape the spaces.
Any suggestions, or should I stick to find?
Thanks.
Bill Scott
Messages sorted by:
Reverse Date,
Date,
Thread,
Author