Solved

How to create directories recursively using mkdir

Posted on 2010-09-09
2
520 Views
Last Modified: 2012-05-10
I need to be able to create directories recursively.
Suppose I have the following directory structure that needs to be created /release/projecta/backup_011009/uk

The directory /release/projecta exists, but the path backup_011009/uk does nto exist.

How can I use mkdir to recursively create  all directories?

Thanks in advance
0
Comment
Question by:singh101
2 Comments
 
LVL 14

Accepted Solution

by:
sentner earned 500 total points
ID: 33638799
mkdir -p /release/projecta/backup_011009/uk
0
 

Author Closing Comment

by:singh101
ID: 33638834
Thanks for the quick response
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
linux copy files from usb to folder on system 14 60
PC upgrade to Linux Mint 7 68
Fixing Non-Standard characters in text 8 92
Can't ping New Linux Servers 40 25
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now