Hacker Newsnew | past | comments | ask | show | jobs | submit | more daw___'s commentslogin

Oh, that looks interesting and definitely related! Starred, will have a look soon.


Oh, sorry to hear! I have no idea at the moment, do you mind opening an issue on Github? I can take care of opening an issue myself tomorrow if you can't.

https://github.com/claudiodangelis/qr-filetransfer/issues

Thanks!


This is not going to work unfortunately, the program expects the arguments to be paths.


<() expands to a path:

    $ echo <(true)
    /dev/fd/63


Ah, you are absolutely right


Thanks!


I'm sorry, I have no experience with Nextcloud :-/


That's an interesting point. Maybe the tool could create a temporary file with the data piped to it.

But for now I think you should stick with:

pbpaste > /tmp/clipboard.txt && qr-filetransfer /tmp/clipboard.txt

Thanks for the idea, I'm tracking it in github.


hmm. i'd rather not. generally don't want the clipboard going to disk. thanks though.


Pipe to /dev/shm/filename


Reasonable


Thanks! I use this "disposable" web server approach a lot actually, usually by running `python -m http.server` from the directory that contains the file I want to transfer, and then `wget`'ing the file from another terminal, or opening it as a stream in VLC if the file is a media.


Wow, that's interesting! Starred.


Hi, thanks! Yes, it works on iOS, it works on every device that has a QR reader and a regular internet browser.

The workflow is easy: 1. the tool spawns a disposable web server 2. the tool prints a QR code that encodes an URL that points to the server 3. the device scans the QR, the scanned text is the URL 4. the tool turns off the disposable server as soon as the transfer is complete



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: