Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'PB CLI tools' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
PB CLI tools
Authored by: englabenny on May 16, '03 11:06:12AM
(To hint submitter, and others): Do you know about the apple-supplied terminal commands pbcopy and pbpaste? They would sure help you here. These commands allow you in the Terminal as well as in xterm to pipe to and from the mac os pasteboard. Select text in Camino, cmd-C, type pbpaste >> notes.txt into xterm and the text-content of the pasteboard is sent wherever you want...

[ Reply to This | # ]
PB CLI tools
Authored by: bluehz on May 16, '03 11:33:16AM

Yeah - I thought about using pb - but its still has to go somewhere to get somewhere. This way I also have a written record. Sort of like the tape on a adding machine. Now if we could figure out how to get pbcopy/pbpaste to work seamlessly where you just copy in Aqua then switch and paste into X11 - now that would be a treat!



[ Reply to This | # ]