특정 날짜수가 지난 파일 검색

find [검색 대상 디렉토리] -mtime [현재 기준 지난 날짜수]

 

예) find . -mtime +30 -name “test*.tar.gz” -exec rm -rf {} \;

위로 스크롤