>>62
for x in *.avi; do mv "$x" "$(echo $x | sed 's/^\[.*\]\(.*\)\(.*)\.avi$/\1\.avi/')"; done