Starkey's Space
2016년 5월 18일 수요일
forever 로그 파일 관리
오래된
(
오래된은
알아서
조절하라
)
벡업
파일은
삭제한다
.
$ find ./*.log -mtime +7 -exec rm -f {} \;
원
Log
파일은
초기화
시킨다
.
$ cat /dev/null > forever.log
참조 -
http://korea-developer.tistory.com/entry/LOG-%ED%8C%8C%EC%9D%BC-%EA%B4%80%EB%A6%AC
2016년 5월 9일 월요일
ubuntu rsync aws 사용방법
sudo rsync -avL --progress -e "ssh -i /path/to/auth.pem" --log-file=/var/log/rsyncd.log ~/wwwhome/ ubuntu@ip:/home/ubuntu/wwwhome
최근 게시물
이전 게시물
홈
피드 구독하기:
글 (Atom)