📌  相关文章
📜  bash 复制文件但排除某些目录 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:55.857000             🧑  作者: Mango

代码示例1
# 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