Bulk File Deletion in Linux

Bulk File Deletion in Linux

If you encounter the error “/usr/bin/rm: arg list too long” when trying to delete a large number of files,

you can delete them using the command below.

 find . | xargs -n 1000 rm -f

Leave a Reply

이메일 주소는 공개되지 않습니다. (* 질문, 건의사항 등은 "질문게시판"을 이용해주세요)