aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 440c50b..c8e0d32 100644
--- a/README.md
+++ b/README.md
@@ -18,4 +18,5 @@ This is my personal website that takes the place of [alexscerba.org](https://ale
[] Image scraping and gallery: Scrape and agregate all images from the site into a lazy-loading image gallery.
## Useful Commands
-* convert image.jpg -resize 1000x1000 image_1000.jpg \ No newline at end of file
+* convert image.jpg -resize 1000x1000 image_1000.jpg
+* for file in $(ls -1 | sed 's/\.[^.]*$//'); do convert "$file.jpg" -resize 1000x1000 "$(echo $file)_1000.jpg"; done \ No newline at end of file