Created
February 10, 2014 19:35
-
-
Save quickshiftin/8922629 to your computer and use it in GitHub Desktop.
BASH alias to get the last downloaded file on OSX
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
alias lastd='echo ~/Downloads/$(ls -t ~/Downloads/ | head -n 1)' |
Author
quickshiftin
commented
Feb 10, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment