[plug] Argument list too long

Cameron Patrick cameron at patrick.wattle.id.au
Mon Jun 16 14:22:47 WST 2003


On Mon, Jun 16, 2003 at 02:13:23PM +0800, Brad Campbell wrote:

| rm * gives me an Argument list too long error.
| I can simply remove the dir, but is there another way ?

Either: find /path/to/dir -type f -print0 | xargs -0 rm
Or: find /path/to/dir -type f -exec rm {} \;

(Now let the flames about which is superior and whether it is possible
to increase the kernel argument list limit begin...)

Cameron.



More information about the plug mailing list