function rlsxattr --description 'Recursively list all files with xattrs' if not check_install 'getfattr' 'attr' echo "Can't find getfattr." return 1 end command getfattr -R -h -d . &>/dev/null | grep '^# file:' | sed 's/^# file: //' end