What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-29 18:54:02
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 Add solution