
rsync:ai:66e4e
rsync exclude directory named dir
$ rsync -av --exclude='dir' /source/path/ /destination/path/
try on your machine
Excludes the directory named 'dir' from being synced from the source path to the destination path using rsync command
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- rsync exclude directory named dir?