Skip to content

Commit

Permalink
Cleanup & test.
Browse files Browse the repository at this point in the history
  • Loading branch information
JS Fillman committed Apr 9, 2024
1 parent dc8f23a commit ad0aa98
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/zip2cloud
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ for file in ${ZIP_DIR}/*.7z; do
done

# Verify & update list of files to upload
cd ${ZIP_DIR}/${ZIP_BASE}
cd ${ZIP_DIR}/
for file in ${ZIP_DIR}/*.7z; do
# Get the base name of the file without extension
base_name=$(basename "$file" .7z)
Expand Down Expand Up @@ -135,7 +135,8 @@ done


# Before running rclone
for file in "${uploads[@]}"; do
#for file in "${uploads[@]}"; do
for file in '${uploads}'; do
ls $file
if [ ! -f "$file" ]; then
echo "File does not exist: $file"
Expand Down

0 comments on commit ad0aa98

Please sign in to comment.