1 2 3 4 5 6
#!/bin/sh for i in kernel-*.config; do NEW=kernel-$VERSION-`echo $i | cut -d - -f2-` mv $i $NEW done