parent
6242d1dcc6
commit
57a85afc11
|
@ -1,9 +1,14 @@
|
|||
#!/bin/bash
|
||||
echo "Backing up files..."
|
||||
touch ~/.bash_exports
|
||||
cat ~/.bash_exports > ~/.bash_exports.old.backup
|
||||
touch ~/.bash_profile
|
||||
cat ~/.bash_profile > ~/.bash_profile.old.backup
|
||||
touch ~/.bash_aliases
|
||||
cat ~/.bash_aliases > ~/.bash_aliases.old.backup
|
||||
touch ~/.bash_functions
|
||||
cat ~/.bash_functions > ~/.bash_functions.old.backup
|
||||
touch ~/.bashrc
|
||||
cat ~/.bashrc > ~/.bashrc.old.backup
|
||||
echo "Installing new files..."
|
||||
cat bash_exports > ~/.bash_exports
|
||||
|
|
Loading…
Reference in New Issue