
rsync:ai:8a399
rsync exclude directory
$ rsync -av --exclude='${directory}' source_dir/ destination_dir/
try on your machine
This command will sync two directories while excluding a specific directory named 'directory_name' from the source directory.
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?