Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
folderA contains [dirA, dirB, dirC, fileA, fileB]
我想复制folderA to folderA-copy without dirB and dirC我应该怎么做?
folderA to folderA-copy without dirB and dirC
使用 rsync 命令排除选项,该选项为您提供为文件夹/文件输入正则表达式的选项,或指定包含您要忽略的所有目录的文件或指定特定目录或文件。