chunkit is a console client interfacing a file hosting service chunk.io aka 'File upload for hackers'.
- File upload directly from darkness of your console
- Automatic chunking of large files (chunk.io allows only files up to 50 MB atm)
- Manifest files (*.mf) to easily share data with fellow hackers
chunkit supports three run modes: upload, download, edit.
This mode is used to upload a new file on chunk.io. If a file is larger than currently supported maximum size, the file is automatically chunked and uploaded separately. When upload is successfull a Manifest file is produced containing metadata (name, comment, size, checksum) and information how to merge the chunks together.
Upload mode is invoked using an option '-u' followed by a path to a file which ought to be uploaded. Optionally other options can be specified.
chunkit --upload [-ncsozf] <FILE>
This mode is used to download all chunks and merge them together to create the original file. In order to do so a Manifest file must be passed to chunkit where required metadata are available. A Manifest file can either be a local file (i.e. /home/johndoe/old_data.mf) or a remote file accessible via HTTP/HTTPS (i.e. http://example.org/data.mf).
Download mode is invoked using an option '-d' followed by a URI of a Manifest file.
chunkit --download [-of] <URI>
This mode is used to update metadata (name, comment) in a Manifest file.
Edit mode is invoked using an option '-e' followed by a path to a Manifest file that ought to be updated.
chunkit --edit [-nc] <FILE>
-u, --upload toggle upload mode
-d, --download toggle download mode
-e, --edit toggle edit mode
-n=NAME set a name
-c=COMMENT set a comment
-s=BYTES set a chunk size
-o=FILE set an output file
-z enable chunk compression
-f force overwrite if output file already exists
-V enable verbose mode
-h, --help display this help text
-v, --version display version information
Download, unpack, make, run...