How to exclude the lost+found directory in rsync?

From the man page:

--exclude=PATTERN        exclude files matching PATTERN
--exclude-from=FILE      read exclude patterns from FILE

It tries to read lost+found to determine which files to be excluded. You need to use --exclude= option.

3 Likes