Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

cp directory with exclusion

rsync -av --exclude='path1/to/exclude' --exclude='path2/to/exclude' source destination
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cp #directory #exclusion
ADD COMMENT
Topic
Name
8+1 =