Skipping Non-regular File Rsync Symlink

12.01.2020by admin
Rsync skipping directory

I back up my files using rsync. Right after a sync, I ran it expecting to see nothing, but instead it looked like it was skipping directories.

Non-regularRsync list of files

I've (obviously) changed names, but I believe I've still captured all the information I could. What's happening here? Are you absolutely sure those individual files are not symbolic links?Rsync has a few useful flags such as -l which will 'copy symlinks as symlinks'. Adding -l to your command: rsync -rtvpl /source/backup /destinationI believe symlinks are skipped by default because they can be a security risk. Check the man page or -help for more info on this: rsync -help grep linkTo verify these are symbolic links or pro-actively to find symbolic links you can use file or find: $ file /path/to/file/path/to/file: symbolic link to `/path/file`$ find /path -type l/path/to/file.