mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-12 11:42:20 -04:00
Readme
This commit is contained in:
parent
70b0a019d5
commit
6ef3d57db4
4 changed files with 40 additions and 0 deletions
19
shell_scripts/backup.sh
Normal file
19
shell_scripts/backup.sh
Normal file
|
@ -0,0 +1,19 @@
|
|||
i#!/bin/bash
|
||||
|
||||
# saving things at /home
|
||||
echo "Starting backup..."
|
||||
|
||||
cd YOUR_BACKUP_FOLDER
|
||||
mkdir `date +%m-%d-%Y-$HOSTNAME`
|
||||
cd `date +%m-%d-%Y-$HOSTNAME`
|
||||
|
||||
|
||||
cp ~/.bashrc bashrc
|
||||
cp /etc/issue.net .
|
||||
cp ~/.config/sublime-text-3/Packages/User/Preferences.sublime-settings .
|
||||
|
||||
# AND OTHER CONF FILES YOU WANT TO SAVE
|
||||
|
||||
echo "Done!"
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue