카테고리 없음
[bash] find 사용 예제
냐옴
2024. 4. 2. 15:01
## 확장자 여러 개 대상 ( .xml 이거나 .conf 인 것만 )
find . -name '*.xml' -o -name '*.conf'
## 특정 파일 제외
find . -type f -not -name 'backup.sh'
## 특정 경로 제외
find . -type f -not -path '*/apache/*'