I'm using Curl on a site that returns the cookie upon login. In the command line (cygwin) I'd like to output the cookie data to the clipboard.
Typically I would use
> /dev/clipboard
at the end of the command but that doesn't seem to work for the cookie data. The only way it seems I can output the cookie jar data is by using
curl --cookie-jar cookies.txt
This puts in a text file which I'd rather not do. Would appreciate any advice.