uplink pack create sj://bucket/prefix/pack.zip path1 path2 path3 - this makes a zip file out of files and folders provided on the commandline. it should expect a zip extension at the destination location so that we can support other packing formats with other extensions in the future. Please see https://github.com/storj/roadmap/issues/30 for other details there.
uplink pack ls sj://bucket/prefix/pack.zip - this operation lists all of the objects in the pack
uplink pack cp sj://bucket/prefix/pack.zip object/in/pack destination - this operation copies an object out of the pack
We contemplated adding pack support to existing commands with a special sjp:// path prefix or something, but there were a lot of weird edge cases. To get something out the door, this subcommand seems like the shortest route.
This subcommand can use storj.io/zipper like the linksharing zip support.
Overall objective: provide useful functionality to Uplink CLI users for packing a large amount of objects together.
Proposal (started in https://review.dev.storj.io/c/storj/storj/+/6107):
uplink pack create sj://bucket/prefix/pack.zip path1 path2 path3
- this makes a zip file out of files and folders provided on the commandline. it should expect a zip extension at the destination location so that we can support other packing formats with other extensions in the future. Please see https://github.com/storj/roadmap/issues/30 for other details there.uplink pack ls sj://bucket/prefix/pack.zip
- this operation lists all of the objects in the packuplink pack cp sj://bucket/prefix/pack.zip object/in/pack destination
- this operation copies an object out of the packWe contemplated adding pack support to existing commands with a special sjp:// path prefix or something, but there were a lot of weird edge cases. To get something out the door, this subcommand seems like the shortest route.
This subcommand can use storj.io/zipper like the linksharing zip support.