From 777470847f7684c22aa5c28697d025291cd071ee Mon Sep 17 00:00:00 2001 From: Michael Scalzetti Date: Thu, 24 Mar 2022 02:45:27 -0400 Subject: [PATCH] mv doesnt wait for completion on massive transfers so some code adjustment is necesary here --- auto_move.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/auto_move.sh b/auto_move.sh index 6d5fed5..2591d98 100644 --- a/auto_move.sh +++ b/auto_move.sh @@ -5,8 +5,18 @@ USER=$2 mv ./files/temp/$USER/* /home/$USER/ + +echo "Hit ENTER when files finish transferring..." +read + + chown -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/.config/neofetch/config.conf ~/.config/neofetch/config.conf ln -s /home/$USER/.gitconfig ~/.gitconfig