I'm looking for a way to 'mark' a file to be backed up. I've been experimenting with stuff like
setfattr -n user.backmeup ~/foo
but the problem with that is if i use getfattr i can't use the exit code to determine whether that attribute was found, and therefore whether the file should be backed up. Any other ideas?