«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
Recent Posts
Today
Total
02-27 13:12
300x250
관리 메뉴

변군이글루(Mirror)

find rm 명령어 본문

리눅스

find rm 명령어

변군Dev 2022. 4. 23. 20:57
728x90

find rm 명령어

 Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]

생성된 지 30일 이상 된 파일만 삭제

find /var/spool/clientmqueue -ctime +30 -exec rm -f {} \;
find /var/spool/clientmqueue -ctime +30 | xargs rm -r

f1

https://explainshell.com/

 

explainshell.com - match command-line arguments to their help text

 

explainshell.com

 

728x90