Created
February 13, 2017 21:49
-
-
Save BramEsposito/380665ba79e407318d59f5a43e6c005f to your computer and use it in GitHub Desktop.
Copy next line to clipboard. Put this in an Alfred action and assign a shortcut.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FILE="/Users/user/wherever/you put/your files/file.txt" | |
head -n 1 "$FILE" | pbcopy | |
echo "$(sed '1d' "$FILE")\n" > "$FILE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment