How to get absolute path by using find command.
actually I am running the following script:-
find . -size +20M | while read a
do
i=$(echo $a | sed 's:/: :g')
echo $a;
j=($i)
fileName=${j[${#j[@]}-1]}
userName=${j[${#j[@]}-3]}
done
but here variable $a
showing path starting from ./Downloads/filename
but I want absolute path from /
.