Skip to content

Instantly share code, notes, and snippets.

@y56
Created August 24, 2021 18:39
Show Gist options
  • Save y56/b9eae675588010b4478b24aa0ed6e1b4 to your computer and use it in GitHub Desktop.
Save y56/b9eae675588010b4478b24aa0ed6e1b4 to your computer and use it in GitHub Desktop.
delete the lastest downloaded item
trash ~/Downloads/$(ls -1t ~/Downloads/ | head -1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment