Skip to content
New issue

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

Add support for specifying multiple files on the command line and preserve file paths #83

Open
oxsdd opened this issue Aug 25, 2021 · 0 comments
Labels

Comments

@oxsdd
Copy link

oxsdd commented Aug 25, 2021

In other words, work like tar.

For packing:

ipfs-car --pack a1/b1/c1.dat a2/b2/c2.dat f1.dat --output out.car

This avoids the need to link disparate files into a common root directory.

On unpacking:

ipfs-car --unpack out.car

would result in the following in the current working directory:

a1/b1/c1.dat
a2/b2/c2.dat
f1.dat

This avoids the need to track the full file paths separately.

@mikeal mikeal added the PoP label Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants