Created
July 7, 2018 15:16
-
-
Save nishad/3e35d67d0402d4048c875af0672d7a8b to your computer and use it in GitHub Desktop.
Simple clean and backup script for OS X Desktop
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/Desktop/$time_stamp | |
mv ~/Desktop/* ~/Backup/Desktop/$time_stamp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment