![]() ![]() An echo has been introduced to create a newline ( \n) with every entry to prevent data from concatenating on the same line. The command within the loop will repeat over and over again, repeatedly dumping anything found in the clipboard. The while loop will execute pbpaste and pause (sleep) for five seconds. ~$ while true do echo -e "\n$(pbpaste)" >/tmp/clipboard.txt
0 Comments
Leave a Reply. |