mirror of
https://github.com/ff4500/utilities.git
synced 2026-07-01 11:47:04 -05:00
new image scripts
This commit is contained in:
11
images/dupe_test_images_append_ext/fileext_rename.sh
Executable file
11
images/dupe_test_images_append_ext/fileext_rename.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# CP and rename files in place, adding site specific extensions
|
||||
|
||||
for f in *.png; do
|
||||
cp "$f" "${f%.png}-x-small.png"
|
||||
cp "$f" "${f%.png}-small.png"
|
||||
cp "$f" "${f%.png}-medium.png"
|
||||
cp "$f" "${f%.png}-large.png"
|
||||
cp "$f" "${f%.png}-x-large.png"
|
||||
done
|
||||
Reference in New Issue
Block a user