250x250
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- springboot
- #Oracle
- CodeGlance
- #오라클
- log4j2
- 설치
- mariadb
- Like
- Oracle
- Plugins
- IntelliJ
- #eclipse
- Eclipse
- 스프링부트
- 이클립스
- 환경설정
- #자바
- Spring
- 오라클
- #JVM
- 인텔리제이
- 플러그인
- 스프링
- log4j
- #java
- #자바가상머신
- 소스코드 맵
- 설정
- html
- #이클립스
Archives
- Today
- Total
커피와 개발자
일정 시간이 지난 파일 삭제 스크립트 본문
728x90
find /usr/local/squid_localhost/logs -type f -name "access_log.*" -ctime +30 -print -exec rm {} \;
ctime +30 // 파일이 생성된지 30일 이상된 파일은 삭제한다.
mtime +30 // 파일이 변경된지 30일 이상된 파일은 삭제한다.
728x90
'웹개발 > 리눅스(Linux)' 카테고리의 다른 글
파일 자동삭제 스크립트 (0) | 2009.10.01 |
---|---|
아파치 서버의 html파일에서 php코드를 해석하지 못할 때! (0) | 2009.09.23 |
Linux Fedora10 에서 Samba 설치하기 (0) | 2009.09.22 |
Liunx (Fedora Ver.10 설치) (0) | 2009.09.21 |
iptables 설정 관리(FTP 차단) (0) | 2009.09.11 |
Comments