bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Observations: rm--help:Deleting bulk files using rm


From: Eric Blake
Subject: Re: Observations: rm--help:Deleting bulk files using rm
Date: Mon, 21 May 2007 06:14:34 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Sathyanesan, Deepak on 5/21/2007 1:35 AM:
> Error observed: -bash: /bin/rm: Argument list too long
> Command used : rm *.xml

Not a bug, but a fundamental limitation of your OS.  You have asked a FAQ:
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Argument-list-too-long

>  
> alternative found: 
> find . -name '*.xml' -print0 | xargs -0 rm

Indeed, that is one option that the FAQ recommended.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGUY0p84KuGfSFAYARAuB7AJ0eALnuOXHmUGhz8KzWX7LKccUnqgCg11vv
IWElo++kEQdcDbIUAh8yPkQ=
=pdzC
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]