[CentOS] ls and rm: "argument list too long"

Jussi Hirvi greenspot at greenspot.fi
Fri Oct 17 10:33:58 UTC 2008


Lawrence Guirre (lawrence.guirre at gmail.com) kirjoitteli (17.10.2008 12:55):
> piping ls to xargs should do the trick. man xargs for details.

Ok, thanks for ideas, Laurent and Lawrence.

A strange limitation in ls and rm, though. My friend said he hasn't seen
that in Fedora. 

- Jussi

--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. & fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi at greenspot.fi * http://www.greenspot.fi




More information about the CentOS mailing list