SW개발/Linux
/bin/rm: cannot execute [Argument list too long]
개소왕
2018. 10. 13. 15:37
* 개요
sudo rm * -rf 실행시 다음 메시지 보이며 동작 안함
/bin/rm: cannot execute [Argument list too long]
* 해결
https://stackoverflow.com/questions/11289551/argument-list-too-long-error-for-rm-cp-mv-commands
find . -name "*" -print0 | xargs -0 rm