Uploading
dreamlake upload sends a file (or a flat directory) to an episode. Large
files use resumable S3 multipart uploads.
A single file
--episode— the targetproject[@namespace][:episode]. The episode is created automatically if missing.--to— the destination path inside the episode.- The asset kind (video, audio, image, …) is auto-detected from the
extension. Override with
--type. Unknown extensions upload asfile.
On success it prints the BSS id and the node id.
A folder
Point upload at a directory to upload every file in it (flat — top level
only):
- Junk/hidden files (
.DS_Store,*.tmp, dotfiles, …) are skipped. --yesskips the confirmation prompt.- Progress is tracked in a manifest, so re-running resumes where it left off.
Resumable uploads
Multipart uploads checkpoint each part. If an upload is interrupted, just run the same command again:
It asks the server which parts already landed and only sends the rest.
Add to bindrs while uploading
--bindr adds the uploaded node(s) to one or more bindrs (created if they
don't exist):
Videos are just files
There is no separate video command — upload a .mp4 like anything else,
then list --type video and download it.