
rsync:ai:a3e38
rsync exclude hidden files and directories recursively
$ rsync -av --exclude='.*' source/ destination/
try on your machine
This command will recursively copy all files and directories from the source directory to the destination directory using rsync, excluding hidden files and directories (those starting with a dot).
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 hidden files and directories recursively?