mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-13 04:02:18 -04:00
add some stuff from RC machine config
This commit is contained in:
parent
7095235fe8
commit
54e3254e41
44 changed files with 23 additions and 8 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