Skip to content

Commit d0352d1

Browse files
Create README.md
1 parent 7826c48 commit d0352d1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Copy2Clip/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copy To Clipboard
2+
3+
Copying the contents of a text file to the clipboard is an all-too-frequent task, whether it’s a log file someone wants to see, a configuration file you need to share, or even an ssh key. Getting to the file is easy enough on the command line, but then having to open it in an editor just to copy-and-paste takes time you don’t need to waste.
4+
5+
The following copy2clip script works on both Windows and Mac, and uses native functionality that is wrapped in a little bit of Python code to load the files into the clipboard.
6+
7+
### To run it:
8+
> $ copy2clip filename
9+
10+
So now that we know how to copy and paste file content quicker and easier, let’s apply it to file names.

0 commit comments

Comments
 (0)