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

Closed
jamiewilson opened this issue Mar 20, 2017 · 1 comment
Closed

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

jamiewilson opened this issue Mar 20, 2017 · 1 comment

Comments

@jamiewilson
Copy link

jamiewilson commented Mar 20, 2017

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

$ ipfs file ls fZXmMYYCQYeUUadmvx23LXR3CQRGoK881mJoKAPT8fZGR6
css
img
index.html

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.

@flyingzumwalt
Copy link
Contributor

flyingzumwalt commented May 23, 2017

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

No branches or pull requests

2 participants