mv doesnt wait for completion on massive transfers so some code adjustment is necesary here
This commit is contained in:
parent
56873672ce
commit
777470847f
10
auto_move.sh
10
auto_move.sh
@ -5,8 +5,18 @@ USER=$2
|
|||||||
|
|
||||||
mv ./files/temp/$USER/* /home/$USER/
|
mv ./files/temp/$USER/* /home/$USER/
|
||||||
|
|
||||||
|
|
||||||
|
echo "Hit ENTER when files finish transferring..."
|
||||||
|
read
|
||||||
|
|
||||||
|
|
||||||
chown -R $USER /home/$USER
|
chown -R $USER /home/$USER
|
||||||
chgrp -R $USER /home/$USER
|
chgrp -R $USER /home/$USER
|
||||||
|
|
||||||
|
rm ~/.zshrc
|
||||||
|
rm ~/.config/neofetch/config.conf
|
||||||
|
rm ~/.gitconfig
|
||||||
|
|
||||||
ln -s /home/$USER/.zshrc ~/.zshrc
|
ln -s /home/$USER/.zshrc ~/.zshrc
|
||||||
ln -s /home/$USER/.config/neofetch/config.conf ~/.config/neofetch/config.conf
|
ln -s /home/$USER/.config/neofetch/config.conf ~/.config/neofetch/config.conf
|
||||||
ln -s /home/$USER/.gitconfig ~/.gitconfig
|
ln -s /home/$USER/.gitconfig ~/.gitconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user