Compare commits

..

2 Commits

Author SHA1 Message Date
c7b44a066e Update: Juice 2021-01-30 09:59:00 -07:00
6c56fae8d1 Create basic management script 2021-01-30 09:58:48 -07:00
3 changed files with 16 additions and 0 deletions

Binary file not shown.

Binary file not shown.

16
manage.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
remoteDir=${HOME}/diablo/drive_c/users/mollusk/"Saved Games"/"Diablo II"
echo "${remoteDir}"
if [[ ! -d ./"Diablo II" ]];then
echo "Local save directory does not exist"
exit 1
fi
if [[ ! -d "${remoteDir}" ]];then
echo "Remote directory does not exist"
exit 1
fi
echo "Moving files from ${remoteDir} to $(pwd)/Diablo II"
cp "${remoteDir}"/* "$(pwd)"/"Diablo II"