On 01/04/2017 11:00 AM, Ilario wrote:
Excluding a hidden file without full path doesn't rise an error (as
happens with non hidden files) and copies it anyway; e.g.

mkdir temp
cd temp
mkdir .one
mkdir .two
mkdir three
mkdir four
rdiff-backup --exclude .one --exclude ./.two --exclude ./three . ../backup
ls -a ../backup
.  ..  four  .one  rdiff-backup-data

copies also the .one file and gives no warning.

I am not seeing a .one file I see a .one/ directory so I would say you need to do:

--exclude .one**

Does the dot have a special meaning there?
Thanks,
Ilario

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki



--
Adrian Klaver
adrian.kla...@aklaver.com

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to