修复正则判断问题
This commit is contained in:
parent
a96424f86a
commit
df7c015670
|
@ -15,7 +15,7 @@ fcount=`find -L "$datapath"/* | wc -l`
|
||||||
curpath=`pwd`
|
curpath=`pwd`
|
||||||
if [ $fcount -gt 0 ]; then
|
if [ $fcount -gt 0 ]; then
|
||||||
cd $datapath
|
cd $datapath
|
||||||
find . -printf "%p %s\n" | grep -v '. 4096' | sort >> $curpath/$uuid-fs.txt
|
find . -printf "%p %s\n" | grep -v '^\./ 4096$' | sort >> $curpath/$uuid-fs.txt
|
||||||
else
|
else
|
||||||
echo $datapath;
|
echo $datapath;
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue