```while read -r hash; do #validate hash isnt present already before downloading is_valid=$(ipfs pin ls --type=recursive | grep "$hash"); echo "checking if $hash already present.." if [ -z "$is_valid" ] then ipfs pin add -r $hash --timeout 250 else echo "We have this file already pinned. Skipping..." fi ``` is essentially what i am doing at present