2022-03-24 02:41:08 -04:00
|
|
|
LOC=$1
|
2022-03-24 01:18:23 -04:00
|
|
|
USER=$2
|
|
|
|
|
2022-03-24 02:42:38 -04:00
|
|
|
7z x $LOC -o./files/temp/$USER/
|
2022-03-24 01:18:23 -04:00
|
|
|
|
2022-03-24 02:41:08 -04:00
|
|
|
mv ./files/temp/$USER/* /home/$USER/
|
2022-03-24 01:52:07 -04:00
|
|
|
|
2022-03-24 02:45:27 -04:00
|
|
|
|
|
|
|
echo "Hit ENTER when files finish transferring..."
|
|
|
|
read
|
|
|
|
|
|
|
|
|
2022-03-24 01:52:07 -04:00
|
|
|
chown -R $USER /home/$USER
|
|
|
|
chgrp -R $USER /home/$USER
|
2022-03-24 02:45:27 -04:00
|
|
|
|
|
|
|
rm ~/.zshrc
|
|
|
|
rm ~/.config/neofetch/config.conf
|
|
|
|
rm ~/.gitconfig
|
|
|
|
|
2022-03-24 01:52:07 -04:00
|
|
|
ln -s /home/$USER/.zshrc ~/.zshrc
|
|
|
|
ln -s /home/$USER/.config/neofetch/config.conf ~/.config/neofetch/config.conf
|
2022-03-24 02:13:22 -04:00
|
|
|
ln -s /home/$USER/.gitconfig ~/.gitconfig
|