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.

Rename directory in Linux

Answer

The easiest way to rename a directory in Linux is to move the directory , using the mv command.

e.g.

# mv old_directory new_directory

  1. Rename file in Linux
  2. Move a directory in a subversion repository
  3. How to bulk rename files in Linux
  4. Massively rename files in Linux?
  5. How to rename a user 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>