github.com/rita33cool1/iot-system-gateway@v0.0.0-20200911033302-e65bde238cc5/gateway/PubImage.sh (about) 1 #!/bin/bash 2 3 date_time=$(date +"%m%d_%H%M") 4 algorithm=$(cat YC/iscc19/Algorithm.txt) 5 cd YC/iscc19/Implementation/Gateway/PubImages 6 echo "goto PubImages" 7 #file=./Implementation/Gateway/PubImages/original/$algorithm 8 #if [ -d $file ]; then 9 # rm -r $file 10 #fi 11 python3 DownResPubImages.py original/"$algorithm" 12 echo "PubImage"