How can I copy, recursive directory, only files with a attribute 1, and reset this a attribute to 0? Thanks, Francisco
You will probably have to install the package
You can write a script in a shell language, or a higher level language to descend directories and examine each file, copying the ones that meet your criteria. I would use python, personally.
By using the getfattr command you can retrieve the value for a user.name you define yourself as an extended attribute. After copying the file you could then set a different value by executing the setfattr command.
I don't see an option for rsync or dump to do this. Dump is said to ignore files with the d (non-extended) attribute set. These regular attributes are set with
It may be helpful to know more about what you are trying to achieve in case there is another approach that doesn't involve programming.