How To: Rename groups of files from the command line

Rename groups of files from the command line

The Linux command shell provides a very powerful interface for doing various system tasks. This video explains with an example, how to use a bit of programming techniques to batch rename files with similar naming conventions. The narrator first displays the names of the files in the current directory using the l command and then, using a for loop and a move command in the shell window, interchanges the prefixes and suffixes of two similarly named files. An echo keyword is also used, so that the steps being executed are clearly visible. The narrator also provides helpful insights so that the workings of the commands are clearly understandable.

Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.

Buy Now (97% off) >

Our Best Phone Hacks

Gadget Hacks' tips — delivered daily.

Be the First to Comment

Share Your Thoughts

  • Hot
  • Latest