summaryrefslogtreecommitdiffstats
path: root/local/bin/rename_pictures.sh
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin/rename_pictures.sh')
-rwxr-xr-xlocal/bin/rename_pictures.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/local/bin/rename_pictures.sh b/local/bin/rename_pictures.sh
deleted file mode 100755
index a3f2463..0000000
--- a/local/bin/rename_pictures.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-# Very specific script to bulk rename pictures with some format
-# (complex script for a simple task)
-
-exit # just in case
-
-shopt -s nullglob
-for file in ss_*.png; do
- date_part="${file:3:8}"
- time_part="${file:12:6}"
- new_name="ss-${date_part}T${time_part}0500.png"
-
- mv "$file" "$new_name"
-done
-shopt -u nullglob