xattr
parent
f07d6cae99
commit
f1971eda08
@ -0,0 +1,18 @@
|
||||
# xattr
|
||||
#
|
||||
# Utility to work with extended filesystem attributes.
|
||||
|
||||
# List key:value extended attributes for a given file:
|
||||
xattr -l file
|
||||
|
||||
# Write an attribute for a given file:
|
||||
xattr -w attribute_key attribute_value file
|
||||
|
||||
# Delete an attribute from a given file:
|
||||
xattr -d attribute_key file
|
||||
|
||||
# Delete all extended attributes from a given file:
|
||||
xattr -c file
|
||||
|
||||
# Recursively delete an attribute in a given directory:
|
||||
xattr -rd attribute_key directory
|
Loading…
Reference in New Issue