I wrote a shell script to move *.html
files from 100 folders.
cd 1498224124_1_OCR ; python obatchocr.py ; mv *.html /var/www/html/ocr/ocr-by-batch-number/ ; cd ../ cd 1498224124_2_OCR ; python obatchocr.py ; mv *.html /var/www/html/ocr/ocr-by-batch-number/ ; cd ../
Actually, few folders does not have *.html
file. I want to find the folders which does not have *.html
file. So, i want to delete the folder if there is *.html
move is success by shell script.