rename multiple files

file names will start from 8th character:

ls -1 Zdj* | xargs -I % sh -c 's="%"; n=`echo "$s" | cut -b 8-`; echo "$s --> $n"; mv "$s" "$n"'

Leave a Reply