diff --git a/zip.sh b/zip.sh index 1110d9c..3dfaf88 100644 --- a/zip.sh +++ b/zip.sh @@ -1,8 +1,11 @@ #!/bin/bash +printf "Enter phase name: " +read -r phase + mkdir pins25 rsync -av --exclude=".*" ./src ./pins25 rsync -av --exclude=".*" --exclude="*.pins" ./prg ./pins25 rm ./pins25/prg/*.pins -zip -r 63230048.zip ./pins25 -rm -rf ./pins25 \ No newline at end of file +zip -r 63230048-$phase.zip ./pins25 +rm -rf ./pins25