修复正则判断问题

This commit is contained in:
wlx 2015-05-21 21:47:27 +08:00
parent a96424f86a
commit df7c015670
1 changed files with 1 additions and 1 deletions

View File

@ -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