修复正则判断问题
This commit is contained in:
parent
a96424f86a
commit
df7c015670
|
@ -15,7 +15,7 @@ fcount=`find -L "$datapath"/* | wc -l`
|
|||
curpath=`pwd`
|
||||
if [ $fcount -gt 0 ]; then
|
||||
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
|
||||
echo $datapath;
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue