zsh-users
 help / color / mirror / code / Atom feed
From: William Scott <wgscott@chemistry.ucsc.edu>
To: zsh-users@sunsite.dk
Subject: recursive globbing, filename spaces and xargs
Date: Mon, 17 Jan 2005 07:14:54 -0800 (PST)	[thread overview]
Message-ID: <Pine.GSO.4.43.0501170710390.995-100000@hydrogen.ucsc.edu> (raw)


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



             reply	other threads:[~2005-01-18  0:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-17 15:14 William Scott [this message]
2005-01-18  0:49 ` Bart Schaefer
2005-01-18  0:51 ` Christian Schneider
2005-01-18  1:15 ` Philippe Troin
2005-01-18  2:06   ` William Scott
2005-01-18  9:05   ` Stephane Chazelas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.43.0501170710390.995-100000@hydrogen.ucsc.edu \
    --to=wgscott@chemistry.ucsc.edu \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).