Welcome! » Log In » Create A New Profile

How to specify FileSet to exclude anything starting with &qu

Posted by bdam 
How to specify FileSet to exclude anything starting with &qu
September 25, 2016 02:33AM
I'm fed up of backing up .cache etc. In the users home dirs I've noticed all the top level files which begin with "." or dirs which being with "." can safely not be backed up.

My Spec if like this - how would I change it to do what the above says, and for all users? I only want to ignore "." at the top level, not any file in the tree starting with "."

FileSet {
Name = "FileSet-Home"
Include {
Options {
wilddir = "/data/home/./bill/Thunderbird/*"
wilddir = "/data/home/./bill/.cache/*"
wilddir = "/data/home/./bill/.config/*"
exclude = yes
}
Options {
signature = MD5
}
File = /data/home/.
}
}
Sorry, only registered users may post in this forum.

Click here to login