Skip to content

Instantly share code, notes, and snippets.

@bitspill
Created April 20, 2018 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bitspill/8b3eff843c73de2313a7e1def53b03d1 to your computer and use it in GitHub Desktop.
Save bitspill/8b3eff843c73de2313a7e1def53b03d1 to your computer and use it in GitHub Desktop.
Directory structure:
/services/tomography
- .ipfs/
- data/
-- bt2006-11-14-1
-- bt2007-04-12-1
-- bt2007-05-30-1
-- many more
Command to pin directories
$ ipfs add -r -p=false --nocopy /services/tomography/data/gh2006-03-14-3
$ ipfs add -r -p=false --nocopy /services/tomography/data/gh2006-03-28-4
$ ipfs add -r -p=false --nocopy /services/tomography/data/gh2006-03-28-5
-- many more
$ ipfs repo stat
NumObjects: 7347468
RepoSize: 17048662512
StorageMax: 10000000000
RepoPath: /services/tomography/.ipfs
Version: fs-repo@6
Only ~17 GB in the repo, good, it didn't copy the data inside
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment