Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RubenKelevra/9a2a228bc9a1c4b68b14727a898ac710 to your computer and use it in GitHub Desktop.
Save RubenKelevra/9a2a228bc9a1c4b68b14727a898ac710 to your computer and use it in GitHub Desktop.
IPFS convert datastore with system service installation

Compile the tool https://github.com/ipfs/ipfs-ds-convert via your user account

echo "$GOPATH" -> if empty go to ~/go/bin/, else "$GOPATH/bin/"

copy the ipfs-ds-convert binary to /tmp/:

cp -a ipfs-ds-convert /tmp/

convert your datastore:

sudo su ipfs -s /bin/bash -c '/tmp/ipfs-ds-convert convert'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment