better way to declare python functions

This commit is contained in:
2025-02-19 10:46:06 -06:00
parent 8aa2d98cdc
commit 9a7b09c159
2 changed files with 14 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#!/etc/profiles/per-user/jawz/bin/bash
cd /home/jawz/Development/Websites/portfolio/content/ijwbs || exit
cd /home/jawz/Development/Websites/portfolio/content/friends || exit
for file in [0-9][0-9][0-9]_*; do
mv "$file" "$(printf '%03d_%s' $((10#${file%%_*} + 4)) "${file#*_}")"
mv "$file" "$(printf '%03d_%s' $((10#${file%%_*} + 1)) "${file#*_}")"
done