Share a single file with the cli
See original GitHub issueUser can share a single file with the command line: dat ~/Desktop/my_best_file_ever.zip
.
Since it’d be confusing to create a .dat folder, we could use the --temp
option here, keeping the database in memory.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Transfer.sh - Easy File Sharing from Linux Commandline
Transfer.sh is a simple, easy and fast service for file sharing from the command-line. It allows you to upload up to 10GB of...
Read more >Share Files Over Internet From Command Line Using Transfer ...
Transfer.sh allows us to share files over Internet from command line in Linux. Transfer.sh allows you to share files up to 10 GB...
Read more >How to Share a Folder or Directory in Windows
Right-click the directory or drive you want to share, and select Properties. · In the Properties window, click the Sharing tab. · Click...
Read more >Single line sftp from terminal - unix - Stack Overflow
So the simple answer is you just do : after your user and host then the remote file and local filename. Incredibly simple!...
Read more >marionebl/remote-share-cli - GitHub
remote-share-cli exposes single files to the internet via https, either from stdin or a given file. The exposing address is copied to your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Or even
To fetch a specific version.
@slrslr you can use the
.datdownload
file to specify a list of files you want to be synced. You can think of dat as an interface that you would want to use instead of dropbox or git or rsync, which is more focused on directories.I think using drop-dat is the right approach.
PRs welcome though – for example
dat share /path/to/myfile.foo
– which would use an in-memory db for single file metadata (mentioned above by @mafintosh)Or to download a file out of a dat, the interface could allow specifying which file directly in the url, for example:
dat clone dat://myhash/path/to/myfile.foo