添加符号链接支持
This commit is contained in:
parent
a6a207264a
commit
78a4c146b6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue