Re: ls Error2000-05-18 06:31:57SoloCDM <deedsmis(_at_)ris(_dot_)net> writes: Recently I executed the following command: rm -f dummy "ls -t msg.* | sed -e 1,900d" As a result, I received the following error: bash: /bin/ls: Argument list too long I know why (14,522 msg.* files exist in the directory), but I need a solution. Use xargs: ls -t msg.* | sed -e 1,900d | xargs -r rm -f Philip Guenther
|
|