Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Specific Garbage Collection #44

Open
nginnever opened this issue Sep 14, 2015 · 2 comments
Open

Specific Garbage Collection #44

nginnever opened this issue Sep 14, 2015 · 2 comments

Comments

@nginnever
Copy link
Member

IPFS Commands: Would be nice to be able to quickly remove the cache of particular files while maintaining the rest for archiving purposes. (Running a gateway and scripts to display files back and sometimes large files are crashing things). Other reasons may include removing DMCA slapped files others have cached on the server :(

$ipfs repo gc hash

@rht
Copy link

rht commented Sep 15, 2015

This should rather be ipfs object rm $hash.

@jbenet
Copy link
Member

jbenet commented Sep 15, 2015

thoughts on this:

# garbage collect only objects under a given path
ipfs repo gc <ipfs-path>

so i might have objects in there pinned, or not pinned, but this should gc objects that are unpinned.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants