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

Jan Pechanec jp at devnull.cz
Mon Oct 1 15:37:56 CEST 2007


On Mon, 1 Oct 2007, Kaminar wrote:

>> 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

	a co cekas ze ti ted ls rekne :-)?

-- 
Jan Pechanec <jp (at) devnull (dot) cz>
http://www.devnull.cz



More information about the Users-l mailing list