Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

To exclude files with patterns containing preceding and trailing characters :

tar -cvf backup.tar --exclude="*.log" --exclude="cache*" public_heml/
Source by techglimpse.com #
 
PREVIOUS NEXT
Tagged: #To #exclude #files #patterns #preceding #trailing #characters
ADD COMMENT
Topic
Name
6+2 =