Re:/bin/ls: Argument list too long.

Kaminar Kaminar at seznam.cz
Mon Oct 1 15:31:07 CEST 2007


> ls -t /tmp/nfcapd.* | head -n 1440 | xargs rm -f
> /bin/ls: Argument list too long.

Co treba takhle?

ls -t /tmp/nfcapd.* | head -n 1440 | sed 's/^.*$/rm &/' | sh


Karel



More information about the Users-l mailing list