diff options
author | mms <michal@sapka.me> | 2024-10-02 11:19:17 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-10-02 11:19:17 +0200 |
commit | 6043f47c0caf6065171c68be93d77cf847b9423a (patch) | |
tree | 36b23e3228f01a12a689b526593996812f5e9637 /Makefile | |
parent | 3a8a9e80bd6991f2281dfd5a50e6234efb0ab289 (diff) |
feat: thomas
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -17,6 +17,13 @@ compress: fi; \ done; \ echo "Ignored $$ignored files. Total compressed: $$compressed." +remove_exif: + @dir_path="./assets/blog"; \ + echo "a";\ + for file in $$(find "$$dir_path" -type f \( -name "*.jpg" -or -name "*.JPEG" \)); do \ + echo "EXIF cleared: $$file"; \ + convert $$file -strip $$file; \ + done; upload: source_dir="public/"; \ dest_server="mms@michal.sapka.me:/var/www/htdocs/michal.sapka.me"; \ @@ -29,6 +36,6 @@ interlace_images: done; clean: rm -r public -deploy: build compress upload +deploy: build upload |