2014년 9월 17일 수요일

여러 폴더에 있는 파일 tar로 묶기(linux)


1. 묶일 파일 확인

find . -maxdepth 2 -name "*.log"


2. tar로 묶기

find . -maxdepth 2 -name "application.log" -exec tar -rf application.log.tar {} \;

댓글 없음: