+ t t
e Rename tagged files
set %t; CMD=%{Enter regex}
while [ -n "$1" ]; do
echo rename -\"s"$CMD"e\" "$1"
rename -\"s"$CMD"e\" "$1"
shift
done
first you will need to flag the files toy want to rename then execute the user operation. When you do so you will be prompted for the regular expression you with to execute.
Some examples:
/oldword/newword/ # Change a word. /_/ /g # Replace all _'s with spaces. /_\[.*\]// # Remove _[CRCHASH] tags. /\(.*\)// # Remove (...) sections.
0 comments:
Post a Comment