Answers for "bash copy files but exclude some directories"

1

bash copy files but exclude some directories

# Basic syntax:
rsync -a /directory/to/copy --exclude=directory_to_ignore

# Note, the directory_to_ignore can be anywhere within the 
#	/directory/to/copy
# Note, to add additional directories to ignore, add more --exclude
#	statements
Posted by: Guest on June-26-2021

Code answers related to "bash copy files but exclude some directories"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language