I know how to replace a set of characters in filenames. E.g
for i in *example_text* ;
do
mv "$i" "`echo $i | sed 's/example_text//'`"
done
How do I do so if a part of the filename is ";" (between quotes). I get an error whenever I try to run:
for i in *;* ;
do
mv "$i" "`echo $i | sed 's/;//'`"
done
Any tips?