memo 

¼­ºñ½º Ç׸ñ »èÁ¦Çϱâ sc delete ¼­ºñ½º¸í

--exclude ¿É¼ÇÀ¸·Î ¿øÇÏÁö ¾Ê´Â µð·ºÅ丮´Â tar ¹­±â¿¡¼­ Á¦¿Ü

¿¹) 
tar  czvf   blah.tgz  --exclude  /home/blah/Á¦¿ÜÇÒÆú´õ   /home/blah

ÀÌ¿Í °°ÀÌ Çϸ頠/home/blah/Á¦¿ÜÇÒÆú´õ  µð·ºÅ丮´Â Á¦¿ÜÇÏ°í /home/blahµð·ºÅ丮¾ÈÀÇ   
´Ù¸¥ ³»¿ëµéÀ» ¾ÐÃà¹é¾÷

 

-> Á¦¿ÜÇÒ Æú´õ³ª ÆÄÀÏÀÌ ¿©·¯°³Àΰæ¿ì --exclude¸¦ Áߺ¹Çؼ­ ½áÁָ頵ȴÙ.

tar cvf backup/backup.tar --exclude backup --exclude "*.txt" * 

backup Æú´õ¸¸ Á¦¿ÜÇÏ°í ¹­±â 
tar cvf backup/backup.tar --exclude backup * 

backup Æú´õ ¹× ¸ðµç txt ÆÄÀÏÀ» Á¦¿ÜÇÏ°í ¹­±â 
tar cvf backup/backup.tar --exclude backup --exclude "*.txt" * 

backup Æú´õ´Â Á¦¿ÜÇÏ°í »õ·ÎÃß°¡µÈ ÆÄÀϸ¸ ¹­±â 
tar uvf backup/backup.tar --exclude backup * 

http://blog.naver.com/parkjy76?Redirect=Log&logNo=30027052390

http://www.kwshop.co.kr/view2.html?Cat=7&cate=211&stockno=7894