Would you mind adding an option to paste uri on the clipboard? #96

Closed
opened 2026-01-19 18:28:56 +00:00 by michael · 3 comments
Owner

Originally created by @voyeg3r on GitHub.

I would like to have an option we could enable and get the final uri in the clipboard and a notify-send telling me that.

Originally created by @voyeg3r on GitHub. I would like to have an option we could enable and get the final uri in the clipboard and a notify-send telling me that.
Author
Owner

@paolafrancesca commented on GitHub:

hello @voyeg3r I don't know notify-send, can you explain what's it?

as for copy to clipboard:
curl --upload-file ./hello.txt https://transfer.sh/hello.txt |pbcopy

that's on mac, there must be an equivalente of pbcopy on other platform

@paolafrancesca commented on GitHub: hello @voyeg3r I don't know notify-send, can you explain what's it? as for copy to clipboard: `curl --upload-file ./hello.txt https://transfer.sh/hello.txt |pbcopy` that's on mac, there must be an equivalente of `pbcopy` on other platform
Author
Owner

@tnfru commented on GitHub:

Linux equivalent is to pipe to xlip:

transfer foo | xclip -selection clipboard
will do the trick.

@tnfru commented on GitHub: Linux equivalent is to pipe to xlip: `transfer foo | xclip -selection clipboard` will do the trick.
Author
Owner

@paolafrancesca commented on GitHub:

@voyeg3r I'm going to close the issue.

Feel free to re-open if it's not solved for you

@paolafrancesca commented on GitHub: @voyeg3r I'm going to close the issue. Feel free to re-open if it's not solved for you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#96