find 썸네일형 리스트형 [명령어] find 명령어 find 명령어 생성한 지 30일이 지난 파일 삭제 $ crontab -e 0 2 * * * find /var/spool/clientmqueue -ctime +30 -exec rm -f {} \; find /app/rsyslog -type f -name '*.log' -mtime +300 -ls find /app/rsyslog -type f -name '*.log' -mtime +300 -exec rm -f {} \; 생성한 지 180일이 지난 디렉터리(파일) 삭제 $ find /logs -type d -mtime +180 -exec rm -rf {} \; $ find /logs -type d -mtime +180 -exec rm -rf {} \; > /dev/null 2>&1 파일안에 있는 문자열 찾기.. 더보기 이전 1 다음