still wip
This commit is contained in:
9
bin/pin.sh
Executable file
9
bin/pin.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
SNEAKID="QmaN64WRYdHBojWFQRLxkdjtX6TEnqnCq8uAugpyJJpCVp"
|
||||
RESOURCE="$(ipfs resolve /ipns/$SNEAKID/pinlist/pinlist.txt)"
|
||||
|
||||
# first add normal ipfs ones
|
||||
ipfs cat $RESOURCE |
|
||||
egrep '^\/ip[fn]s\/[a-zA-Z0-9\-\_\/\.]{5,70}$' |
|
||||
egrep '^\/ipfs\/' |
|
||||
ipfs pin add
|
||||
Reference in New Issue
Block a user