Untitled
Anonymous
plain_text
08/12/2023 4:41 AM
240 B
18
Indexable
#!/bin/bash
shopt -s nullglob
for file in *.sfc; do
new_name=$(echo "$file" | sed -E 's/^[0-9]+\. (.*) \([A-Za-z, ]+\)\.sfc/\1.sfc/')
mv "$file" "$new_name"
doneEditor is loading...