Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

tar exclude multiple directories

tar -cvf backup.tar --exclude="public_html/template/cache" --exclude="public_html/images" public_html/
Source by techglimpse.com #
 
PREVIOUS NEXT
Tagged: #tar #exclude #multiple #directories
ADD COMMENT
Topic
Name
7+2 =