/copyline

Bash script to copy lines of file to clipboard at one second intervals using xclip

Primary LanguageShell

Codacy Badge

copyline

So I had this big long list of links to follow at some point and was looking to migrate them into todoist todos. This required me to copy and paste each line. This script copies each line of a file to the clipboard one at a time, advancing with any character press in the terminal or after one second has passed. To anyone who reads the code: I am so, so sorry.

Things you might have to do:

git clone this repo

chmod +x script.sh

Paste your file into lines.txt

./script.sh