Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

tar exclude directory

$ tar --exclude='./folder' --exclude='./upload/folder2' -zcvf /backup/filename.tgz .
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #tar #exclude #directory
ADD COMMENT
Topic
Name
3+5 =