Skip to content

Instantly share code, notes, and snippets.

@austindoeswork
Last active November 29, 2017 23:14
Show Gist options
  • Save austindoeswork/6fe0267595e19b9d04f3d9dfc6272bf5 to your computer and use it in GitHub Desktop.
Save austindoeswork/6fe0267595e19b9d04f3d9dfc6272bf5 to your computer and use it in GitHub Desktop.
#!/bin/bash
fl=$(ls -tdr1 ~/Downloads/* | -tail -1)
echo $fl
mv "$fl" ./
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment