Re: ls Error2000-05-16 21:54:13Recently 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. Try: rm -f dummy ls -t msg.* | sed -e 1,900d | xargs -n 100 rm -f ********************************************************************* Signed, SoloCDM
|
|