From a36b21bbef841f2b4166a4ff9d124b99967136fa Mon Sep 17 00:00:00 2001 From: Michael Scalzetti Date: Thu, 24 Mar 2022 02:41:08 -0400 Subject: [PATCH] fixed some inconsistency with var names --- auto_move.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/auto_move.sh b/auto_move.sh index 442cd01..d525166 100644 --- a/auto_move.sh +++ b/auto_move.sh @@ -1,9 +1,9 @@ -DEVICE=$1 +LOC=$1 USER=$2 -7z x $1.zip -o./files/$2/ +7z x $LOC.zip -o./files/temp/$USER/ -mv ./files/$2/* /home/$2/ +mv ./files/temp/$USER/* /home/$USER/ chown -R $USER /home/$USER chgrp -R $USER /home/$USER