The mkdir (make directory) command in the Unix, DOS, OS/2 and Microsoft Windows operating systems is used to make a new directory. The underlying system call is also called mkdir(). In DOS, OS/2 and Windows the command is often abbreviated to md.

learn more… | top users | synonyms

4
votes
1answer
80 views

Force Windows use .EXE on PATH rather than CMD.EXE internal command

When I execute a command with the same name as an internal command, instead of searching in the path Windows simply uses the one found in CMD.EXE. For example, mkdir is an internal command built into ...
1
vote
1answer
26 views

mkdir -p is “ambiguous” what should I do?

When I type in "mkdir -p" windows powershell spits out that the parameter p cannot be used because it is ambiguous, any idea what I am doing wrong? Thanks
3
votes
1answer
23 views

Need a fix for MKDIR

I've been using OmniGraffle as a drawing tool for a textbook I'm writing. Up to today I've drawn the drawing, saved it as a graffle. I then, export the same graffle drawing as a png, as per my ...
1
vote
2answers
86 views

moving directories after grep

I have isseued the next command in order to move some directories to the "build_tools" folder however the result was not the one I expected. ls -l | grep 2014-03 | awk '{if ($8!=build_tools) print ...
12
votes
5answers
1k views

How do I tell mkdir to try creating dir1, and if it already exists create dir2, etc, until it hits a name that doesn't exist?

I want to create a directory with a number at the end, e.x. "dir1", and increment that number if the directory already exists until it hits a directory name that doesn't exist, and I need to do this ...
0
votes
1answer
140 views

ASUS RT-N56U router Linux create mount point issue

On my RT-N56U router I'm trying to create a ext3 partition on an attached usb drive to store my media center data. The problem is I am unable to create to a mount point after creating the partition. ...
2
votes
1answer
58 views

How can I create several folders?

How can I create several subfolders in folder in one command. For example, I want to create: /home/user/*create dir1*/*create dir2*/*create dir3*/ Provided, I don't have dir1. And I can't use 3 ...
0
votes
1answer
190 views

file_exists() and mkdir($a, $b, true) do not work properly if my Apache runs in a VirtualBox and the DocumentRoot is a shared folder. Why?

I have a Windows7 PC with a hosted VirtualBox (Ubuntu). On the VirtualBox is an Apache2. The is shared to the Windows7 host. So if I use ls -l I see that the contents are owned by root:vboxsf. If ...
1
vote
1answer
98 views

Why isn't Interix mkdir honoring -p argument?

I'm using Interix on Windows for Unix compatibility and am finding the -p argument to mkdir not behaving as I expect: > which mkdir C:\SFU\bin\mkdir > mkdir -p c:\Program Files\ A subdirectory ...