sudo apt-get install rsync
rsync -av --exclude='a' --exclude='b' "/path/to/source/directory/" "/path/to/destination/directory"
[linux] 拷贝一个文件夹到指定路径,然后忽略某两个文件夹
于 2024-06-24 16:22:56 首次发布
sudo apt-get install rsync
rsync -av --exclude='a' --exclude='b' "/path/to/source/directory/" "/path/to/destination/directory"