September 15, 2002
xclip, I think I love you

Today's unix "how did I live without this before" find is xclip, which I was inspired to find after reading this page of Mac OS X customization tips, which details the pbpaste command.

Basically, xclip allows you to interact with the xclipboard via the command line. So, if you want a directory listing in your clipboard, you can just do:

ls -l | xclip

Similarly, you can echo the current contents of the clipboard with xclip -o, which I've aliased to xpaste.

Currently listening to: Tool - (-) Ions.

Posted by Bill Stilwell at September 15, 2002 08:58 PM
Comments
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?