find . -mtime +7 -exec rm -rf {} \;


In my case, I will delete old diectories and files in using find command. 
Very cafeful things is to have '\'(reverse slash) and to have space between '{}' and '\;' .
Posted by 김용환 '김용환'

댓글을 달아 주세요