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: Sathyanesan, Deepak
Subject: RE: Observations: rm--help:Deleting bulk files using rm
Date: Mon, 21 May 2007 17:46:28 +0530

Hi Eric,

Great followup

Thanks for this

Cheers
Deepak.Sathyan
Verisign 

-----Original Message-----
From: Eric Blake [mailto:address@hidden 
Sent: Monday, May 21, 2007 5:45 PM
To: Sathyanesan, Deepak
Cc: address@hidden
Subject: Re: Observations: rm--help:Deleting bulk files using rm

-----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-li
st-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]