linux 하위폴더의 다수 파일 삭제 및 파일명 변경
10일 이상된 파일 삭제 sudo find . -ctime +10 -exec rm -f {} \; 하위디렉토리에 다수의 파일 찾아 삭제하기 $ find /DIR -name '*c' -type f|xargs rm *c 를 찾아 삭제한다. 하위디렉토리에 다수의 파일 찾아 바꾸기 $ find . -type f -name '*.jpg' -exec rename 's/\.jpg/\.JPG/' '{}' \; jpg => JPG 확장자가 소문자로된 것을 대문자로 변경한다. REF https://man7.org/linux/man-pages/man1/find.1.html find(1) - Linux manual page find(1) — Linux manual page FIND(1) General Commands Manu..