initialize file, converting

20170311 (5XtCZ1Fa9ag) Terry A Davis Live Stream
20170311 [5XtCZ1Fa9ag] Terry A Davis Live Stream, usually needed at the end so if it's already at the end you are a lot closer than most.
This commit is contained in:
Aaron 2025-10-21 18:48:06 -04:00
parent 28c6e7c103
commit 10e14b41cc

6
convert-()-to-[].bash Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
for f in *; do
newname=$(echo "$f" | sed 's/(\([^)]*\))/[\1]/')
[ "$f" != "$newname" ] && mv -- "$f" "$newname"
done