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.

Create a directory tree in Linux

Answer:

To create a directory tree, no matter if parent directories exist or not, e.g. /data/project/backup

# mkdir -p /data/project/backup

  1. Auto create complete directory structure when copying files in Linux
  2. List the size of sub directories in the current directory
  3. Copy a directory (for backup) to another location
  4. How to mirror a directory to a remote server over SSH?
  5. Rename directory 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>