for i in 2mD* ; do
mv $i test-"$i";
done;
for i in P* ; do
new=`echo $i | sed s/"Picture "/course-Picture_/g`;
mv "$i" $new;
done;
File re-namer (http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-12.html#ss12.3)
File re-namer (http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-12.html#ss12.4)
No comments:
Post a Comment