Chain renaming files in Linux
To quickly rename a large number of files in Linux using the command line, use rename. rename ‘s/\.jpg$/.gif/’ *.jpg will transform all the extensions of JPEG files into GIF.
To quickly rename a large number of files in Linux using the command line, use rename. rename ‘s/\.jpg$/.gif/’ *.jpg will transform all the extensions of JPEG files into GIF.