tDo not remove resize, fill, or fit images - 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 c90fc92b59b6c6d385602c8d786e148add1c9d90
(DIR) parent fe549d577987cb1c8b6e4d81308fabe6eefa7180
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 4 Nov 2018 21:31:38 +0100
Do not remove resize, fill, or fit images
Diffstat:
M Makefile | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -18,7 +18,10 @@ deploy-staging:
# remove unprocessed images
find public/ \
-name '.DS_Store' \
- -name '*.jpg' -not -name '*resize*.jpg' -not -name '*box*.jpg' \
+ -name '*.jpg' \
+ -not -name '*resize*.jpg' \
+ -not -name '*fill*.jpg' \
+ -not -name '*fit*.jpg' \
-delete
# upload to fastmail
@lftp -c "set ftp:list-options -a; \
t@@ -32,7 +35,11 @@ deploy:
hugo
# remove unprocessed images
find public/ \
- -name '*.jpg' -not -name '*resize*.jpg' -not -name '*box*.jpg' \
+ -name '.DS_Store' \
+ -name '*.jpg' \
+ -not -name '*resize*.jpg' \
+ -not -name '*fill*.jpg' \
+ -not -name '*fit*.jpg' \
-delete
# upload to fastmail
@lftp -c "set ftp:list-options -a; \