summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-08-03 01:00:36 +0200
committerneodarz <neodarz@neodarz.net>2017-08-03 01:00:36 +0200
commitef35cfca5eb01a6605cc4768f521b4b8d09be3e6 (patch)
treec73eea1ef9c8bb8aaf29a46701ea39339e465083
parent1d49bde4f0baf9f37a9d148263230274a313310c (diff)
downloadyolorandom.cat-ef35cfca5eb01a6605cc4768f521b4b8d09be3e6.zip
yolorandom.cat-ef35cfca5eb01a6605cc4768f521b4b8d09be3e6.tar.xz
Add the bash to use
-rwxr-xr-xtest_images.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_images.sh b/test_images.sh
index 0525d2f..69528f0 100755
--- a/test_images.sh
+++ b/test_images.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
mkdir -p images
count=$(ls images | grep 'back[1-9][0-9]*.jpg' | wc -w)
test=$(ls images | grep 'back[1-9][0-9]*.jpg' | sort -Vr | head -n 1 | grep "back$count.jpg")