bash match first characters filename and remove

Subject:

#!/bin/bash

for file in *.torrent;

do

        #this below works but matches all letters and removes them all

        #mv "$file" "$(echo $file | sed -e 's/[kat.cr]//g')"

 

        #This one works well but only removes all 7 chars at the beginning of te file

        mv "$file" "${file:8}"; #used to remove [kat.cr]

done

2015-10-12 18:39:34gstlouis

references http://community.linuxmint.com/tutorial/view/1162

gstlouis
vote
2015-10-12 18:39:50