LINUX

비어있는 폴더 삭제하기

OJR 2009. 10. 9. 19:24
 
find . -depth -type d -empty -print |
grep -v "not this one please" |
xargs rmdir

egrep -v 'not this one|or this one|nor this one either|neither this'

find /home2/ftpserver/abcd -depth -type d -empty -print | grep -v "02"

'LINUX' 카테고리의 다른 글

sed  (0) 2009.12.15
리눅스 포멧 명령어  (0) 2009.12.11
vim 두번 줄바꿈 치환 하기  (0) 2009.08.06
vim TIP  (0) 2009.06.30
fileencoding 변경  (0) 2009.06.30