2022-03-24 02:41:08 -04:00
|
|
|
LOC=$1
|
2022-03-24 02:57:30 -04:00
|
|
|
LOCAL_USER=$2
|
2022-03-24 01:18:23 -04:00
|
|
|
|
2022-03-24 02:57:30 -04:00
|
|
|
7z x $LOC -o./files/temp/$LOCAL_USER/
|
2022-03-24 01:18:23 -04:00
|
|
|
|
2022-03-24 02:57:30 -04:00
|
|
|
cp -vR ./files/temp/$LOCAL_USER/* /home/$LOCAL_USER/
|
2022-03-24 01:52:07 -04:00
|
|
|
|
2022-03-24 02:45:27 -04:00
|
|
|
|
|
|
|
echo "Hit ENTER when files finish transferring..."
|
|
|
|
|
2022-03-24 02:57:30 -04:00
|
|
|
neofetch
|
2022-03-24 02:45:27 -04:00
|
|
|
|
2022-03-24 02:57:30 -04:00
|
|
|
chown -R $LOCAL_USER /home/$LOCAL_USER
|
|
|
|
chgrp -R $LOCAL_USER /home/$LOCAL_USER
|
2022-03-24 02:45:27 -04:00
|
|
|
|
|
|
|
rm ~/.zshrc
|
|
|
|
rm ~/.config/neofetch/config.conf
|
|
|
|
rm ~/.gitconfig
|
|
|
|
|
2022-03-24 02:57:30 -04:00
|
|
|
ln -s /home/$LOCAL_USER/.zshrc ~/.zshrc
|
|
|
|
ln -s /home/$LOCAL_USER/.config/neofetch/config.conf ~/.config/neofetch/config.conf
|
|
|
|
ln -s /home/$LOCAL_USER/.gitconfig ~/.gitconfig
|
|
|
|
|
|
|
|
echo `cat ./files/.bashrc` >> /home/$LOCAL_USER/.bashrc
|
|
|
|
echo `cat ./files/.bashrc` >> ~/.bashrc
|