Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doing ipfs add -w <( curl http://ipfs.io/docs/commands/ )
ipfs add -w <( curl http://ipfs.io/docs/commands/ )
would like to be able to do something like: ipfs add -w --filename=commands.html <( curl http://ipfs.io/docs/commands/ )
ipfs add -w --filename=commands.html <( curl http://ipfs.io/docs/commands/ )
or ipfs add -w --mime-type=text/html <( curl http://ipfs.io/docs/commands/ )
ipfs add -w --mime-type=text/html <( curl http://ipfs.io/docs/commands/ )
The text was updated successfully, but these errors were encountered:
Currently it isn't possible directly. You can do it by either creating desired directory structure in file-system add adding with -w or using files API:
-w
HASH=$(ipfs add -q <( curl http://ipfs.io/docs/commands/ )) ipfs files mkdir -p /tmp/randomname ipfs files cp /ipfs/$HASH /tmp/randomname/commands.html ipfs files stat --hash /tmp/randomname
Sorry, something went wrong.
is this still not possible?
No branches or pull requests
Fil commentedApr 11, 2015
doing
ipfs add -w <( curl http://ipfs.io/docs/commands/ )would like to be able to do something like:
ipfs add -w --filename=commands.html <( curl http://ipfs.io/docs/commands/ )or
ipfs add -w --mime-type=text/html <( curl http://ipfs.io/docs/commands/ )The text was updated successfully, but these errors were encountered: