Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- GIT
- grep
- context
- Windows
- maVen
- 네트워크
- Mac
- netsh
- tomcat
- 줄바꿈 문자
- xargs
- plugin
- IntelliJ
- resource
- import
- Quartz
- 단축키
- web.xml
- find
- profile
- port
- VirtualBox
- Eclipse
- bash
- ssh
- lsof
- vscode
- JavaScript
- Source
- Windows 10
Archives
- Today
- Total
develog
[Linux] 파일 수정일자로 삭제 본문
30일 이상 지난 파일 조회
find -type f -ctime +30 -exec ls -al --time-style=long-iso {} \; |
30일 이상 지난 파일 삭제
find -type f -ctime +30 -exec rm -rfv {} \; |
'OS & Shell > Linux' 카테고리의 다른 글
[linux] 파일 내용 검색, find xargs, grep (0) | 2020.11.27 |
---|---|
[Linux] ps kill (0) | 2019.03.28 |
[Linux] 파일 날짜 변경, touch (0) | 2018.03.07 |
[bash] find tomcat & exec (0) | 2017.11.23 |
[Linux] 명령어 같이 실행 (0) | 2017.11.23 |
Comments