添加符号链接支持

This commit is contained in:
wlx 2015-05-21 23:07:50 +08:00
parent a6a207264a
commit 78a4c146b6
1 changed files with 1 additions and 1 deletions

View File

@ -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$\|^\. 4096$' | sort >> $curpath/$uuid-fs.txt find -L . -printf "%p %s\n" | grep -v '^\./ 4096$\|^\. 4096$' | sort >> $curpath/$uuid-fs.txt
else else
echo $datapath; echo $datapath;
fi fi