s3/util: mvxattr, a tool to rename extended attributes
authorRalph Boehme <slow@samba.org>
Fri, 3 Feb 2017 13:57:45 +0000 (14:57 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 10 Feb 2017 21:24:59 +0000 (22:24 +0100)
commit32116e015b14cfa697569fce01daf8cde3285970
treefdf002ea390a754a8546b5e80eda0058eba69455
parent738797d8ad6908de457786cc948dcde151e2b9e1
s3/util: mvxattr, a tool to rename extended attributes

Usage: mvxattr -s STRING -d STRING PATH [PATH ...]
  -s, --from=STRING         xattr source name
  -d, --to=STRING           xattr destination name
  -l, --follow-symlinks     follow symlinks, the default is to ignore them
  -p, --print               print files where the xattr got renamed
  -v, --verbose             print files as they are checked
  -f, --force               force overwriting of destination xattr

Help options:
  -?, --help            Show this help message
  --usage               Display brief usage message

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12490

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Feb 10 22:24:59 CET 2017 on sn-devel-144
docs-xml/manpages/mvxattr.1.xml [new file with mode: 0644]
docs-xml/wscript_build
source3/utils/mvxattr.c [new file with mode: 0644]
source3/utils/wscript_build
source3/wscript