Introduction
Introduction Statistics Contact Development Disclaimer Help
tUse iname during find - andersdamsgaard.com - my photography webpage
git clone git://src.adamsgaard.dk/andersdamsgaard.com
Log
Files
Refs
Submodules
README
LICENSE
---
commit ab26c64b4472032a2cee4d71bd901052a9dda2f0
parent c7d765d60350cd7da9443f750557e99c423ae6c6
Author: Anders Damsgaard <[email protected]>
Date: Mon, 5 Nov 2018 07:37:19 +0100
Use iname during find
Diffstat:
M Makefile | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -25,19 +25,19 @@ 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' \
+ find public/ \
+ -iname '.DS_Store' \
+ -iname '*.jpg' \
+ -not -iname '*resize*.jpg' \
+ -not -iname '*fill*.jpg' \
+ -not -iname '*fit*.jpg' \
# remove unprocessed images
find public \
- -name '.DS_Store' \
- -name '*.jpg' \
- -not -name '*resize*.jpg' \
- -not -name '*fill*.jpg' \
- -not -name '*fit*.jpg' \
+ -iname '.DS_Store' \
+ -iname '*.jpg' \
+ -not -iname '*resize*.jpg' \
+ -not -iname '*fill*.jpg' \
+ -not -iname '*fit*.jpg' \
-delete
# report size of build
du -h public/
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.