
rsync:ai:f4e6d
rsync exclude file named dir
$ rsync -av --exclude='dir' source/ destination/
try on your machine
This command syncs the source directory to the destination directory, excluding the file or directory named 'dir'.
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 file named dir?