Why this script does not work?
for filename in bre*; do
rename 's/bre//';
done
I have files starting with bre in the directory and I would like to delete this part from filenames. It is running and nothing will happen and it is not finished. Thank you