반응형
macOS의 한글 파일명에서 find, grep 하기
macOS 2023. 1. 27. 20:19

파일명에 한글이 포함된 경우, 심지어 띄어 쓰기까지 있는 경우 검색이 되지 않는다. 이경우 아래 옵션을 쓴다. find New line 대신 NULL 문자로 출력 -print0 This primary always evaluates to true. It prints the pathname of the current file to standard output, followed by an ASCII NUL character (character code 0). xargs 공백과 개행문자가 NULL로 처리되었음을 알립니다. -0 Change xargs to expect NUL (``\0'') characters as separators, instead of spaces and newlines. This is ex..

반응형