There are usually five purposes for rename a file (multiple files):

  1. Replace (delete/remove) the spaces in a filename
  2. Rename the suffix of a file
  3. Add date in a filename
  4. Uppercase/lowercase first letter(all letters) in a filename
  5. Replace a specific part of a filename

Here, I will show you some script to do all jobs.

1. Replace (delete/remove) the spaces in a filename

<sp …