force text encoding to be used to overcome AndreasG print heuristics.
file=$1
echo " *** print attributes"
- if ! _getfattr -ad $file
+ if ! _getfattr -ad -e text $file
then
echo " !!! error return"
return 1
_backup()
{
# NB: no filtering of scratch here... (need to restore too)
- /usr/bin/getfattr -adl -sR $SCRATCH_MNT >$1
+ /usr/bin/getfattr -adl -R -r '^user|^system' $SCRATCH_MNT >$1
echo BACKUP $1 >>$seq.full
cat $1 >> $seq.full
[ ! -s $1 ] && echo "warning: $1 (backup file) is empty"