Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Massively rename files in Linux?

Answer:

Use the rename command.

Example: Remove the word "DSC" from all jpg files.

rename 's/DSC//' *jpg

  1. How to bulk rename files in Linux
  2. Rename file in Linux
  3. Rename directory in Linux
  4. How to rename a user in Linux?
  5. List hidden files in Linux

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>