添加符号链接支持
This commit is contained in:
parent
a6a207264a
commit
78a4c146b6
|
@ -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$\|^\. 4096$' | sort >> $curpath/$uuid-fs.txt
|
||||
find -L . -printf "%p %s\n" | grep -v '^\./ 4096$\|^\. 4096$' | sort >> $curpath/$uuid-fs.txt
|
||||
else
|
||||
echo $datapath;
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue