Re:/bin/ls: Argument list too long.
Jan Pechanec
jp at devnull.cz
Mon Oct 1 16:22:12 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 :-)?
>
>??? Rekne presne to same jako v pripade původniho prispevku
>od tazatele. Co by mel rici jineho, když je ta prvni cast opsana
>od tazatele?
tazatel hledal reseni problemu "/bin/ls: Argument list too long." a
ty navrhujes reseni, ktere ma uplne ten samy problem, tj. ze k xargs nebo
sed se to vubec nedostane...
--
Jan Pechanec <jp (at) devnull (dot) cz>
http://www.devnull.cz
More information about the Users-l
mailing list