Mv

Give files in a directory random names
for f in *.jpg;do mv "$f" $RANDOM.jpg; done

Move all files starting with "B" into the b subdirectory
find -name "B*.*" -exec mv {} b \;

Move all the .jpg images from one folder to another folder, recursively
find /home/teresita/Desktop -type f -name *.jpg -exec mv '{}' /home/teresita/Downloads \;

Recursively move mp3 files in many directories to a single target directory
find -name '*.mp3' -exec mv -i {} /home/minix/Desktop/music \;

Rename in bulk
OLD=xxx NEW=yyy for F in $OLD* do SUFFIX=`expr $F : '$OLD\(.*\)'` mv $OLD$SUFFIX $NEW$SUFFIX done