Skip to content
This repository has been archived by the owner. It is now read-only.

How can I remove a directory and all its contents? #241

jamiewilson opened this issue Mar 20, 2017 · 1 comment


None yet
2 participants
Copy link

commented Mar 20, 2017

I have this object, a directory with the following contents:

$ ipfs file ls fZXmMYYCQYeUUadmvx23LXR3CQRGoK881mJoKAPT8fZGR6

But when I go to remove this folder with the ipfs files rm command, I get the following message:

$ ipfs files rm -r fZXmMYYCQYeUUadmvx23LXR3CQRGoK881mJoKAPT8fZGR6
Error: Paths must start with a leading slash.

$ ipfs files rm -r /fZXmMYYCQYeUUadmvx23LXR3CQRGoK881mJoKAPT8fZGR6
Error: merkledag: not found

Does anyone know what I'm doing wrong here? Thanks for the help.


This comment has been minimized.

Copy link

commented May 23, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.