OS/Linux
[RHEL] find 명령으로 공백이 포함된 디렉토리/파일 삭제 방법
SYPER
2014. 6. 24. 17:53
A couple of things. Easiest is to change and use
$ find 'Test Folder' -type d -print0 | xargs -0 rm -rf
파일명 전체를 인수로 받기 위해 -print0을 사용한다.
Another choice is
$ find 'Test Folder' -type d -exec \'{}\' \;