> rdiff-backup --print-statistics --terminal-verbosity 2 \ > --include ~/Documents/Magveda\,\ UAB/rastai/ \ > --include ~/Documents/Magveda\,\ UAB/saskaitos/ \ > --include ~/.fonts \ > --include ~/.vim \ > --include ~/.config/mc \ > --include "~/.bash*" \ > --exclude '**' \ > ~/ ~/Backup/ > > I get error: > > Fatal Error: Fatal Error: The file specification > '~/.bash*' > cannot match any files in the base directory > > What is wrong here?..
In the "~/.bash*" case the quotes makes rdiff-backup handle the path without doing any shell expansion, which is necessary for the * wildcard to work as intended. The downside being that rdiff-backup has no idea what to do the ~ reference. Luckily, as long as you use regular quotes variables will still be expanded. Hence, the following will do the trick. --include "$HOME/.bash*" \ // Andreas _______________________________________________ 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