diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-08-28 08:44:22 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-08-28 08:44:22 +0200 |
commit | 2b018278f102de40cab7751fed20ccd6bb90993a (patch) | |
tree | 3792a2f493a0d8e1d6ad4b86104d68d1f66fe70a | |
parent | 53caa45a89ca96a0f58e662776de692dff0aff2c (diff) | |
download | gal-2b018278f102de40cab7751fed20ccd6bb90993a.tar.gz gal-2b018278f102de40cab7751fed20ccd6bb90993a.zip |
-rwxr-xr-x | gal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gal b/gal index 83ea478..840a907 100755 --- a/gal +++ b/gal @@ -49,7 +49,7 @@ EOF [ -f $OUTPUT/photo_list ] && echo "Replacing existing photo_list" && rm $OUTPUT/photo_list for ext in $EXTENSIONS; do - for f in `find $PHOTOS -name "*.$ext"`; do + for f in `find $PHOTOS -name "*.$ext" | sort -n`; do filename=$(basename $f) ## Add to index.html |