tList unprocessed images after build - andersdamsgaard.com - my photography webpage
(HTM) git clone git://src.adamsgaard.dk/andersdamsgaard.com
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit c7d765d60350cd7da9443f750557e99c423ae6c6
(DIR) parent 267c561ab88776ed00b40bfaebc6b4e3d9c6b6f8
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 5 Nov 2018 07:07:36 +0100
List unprocessed images after build
Diffstat:
M Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -24,8 +24,15 @@ deploy-locally:
generate-public:
# generate public/
hugo
+ # list unprocessed images
+ find public \
+ -name '.DS_Store' \
+ -name '*.jpg' \
+ -not -name '*resize*.jpg' \
+ -not -name '*fill*.jpg' \
+ -not -name '*fit*.jpg' \
# remove unprocessed images
- find public/ \
+ find public \
-name '.DS_Store' \
-name '*.jpg' \
-not -name '*resize*.jpg' \