Created
July 7, 2018 15:15
-
-
Save nishad/ca6576477c52a6b415ec2ffd86e4c805 to your computer and use it in GitHub Desktop.
Simple clean and backup script for OSX Downloads folder
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
#!/bin/bash | |
time_stamp=$(date +%Y-%m-%d) | |
mkdir -p ~/Backup/Downloads/$time_stamp | |
mv ~/Downloads/* ~/Backup/Downloads/$time_stamp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment