diff options
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 |