Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

cmd command pipe file to clipboard

type filename | clip  % OR clip < filename   %windows
cat filename | xclip  # OR xclip < filename  # X11 / Unix / Linux
cat filename | pbcopy # OR pbcopy < filename # MacOS X
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #cmd #command #pipe #file #clipboard
ADD COMMENT
Topic
Name
4+3 =