MU-MKDIR(1) General Commands Manual MU-MKDIR(1)NAME
mu_mkdir - create a new Maildir
SYNOPSIS
mu mkdir [options] <dir> [<dirs>]
DESCRIPTION
mu mkdir is the mu sub-command for creating Maildirs. It does not use the mu database. With the mkdir command, you can create new Maildirs
with permissions 0755. For example,
mu mkdir tom dick harry
creates three Maildirs, tom, dick and harry.
If creation fails for whatever reason, no attempt is made to remove any parts that were created. This is for safety reasons.
OPTIONS
--mode=<mode>
set the file access mode for the new maildir(s) as in chmod(1).
BUGS
Please report bugs if you find them: http://code.google.com/p/mu0/issues/list
AUTHOR
Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
SEE ALSO maildir(5)mu(1)chmod(1)User Manuals May 2011 MU-MKDIR(1)
Check Out this Related Man Page
MKDIR(1) User Commands MKDIR(1)NAME
mkdir - make directories
SYNOPSIS
mkdir [OPTION]... DIRECTORY...
DESCRIPTION
Create the DIRECTORY(ies), if they do not already exist.
Mandatory arguments to long options are mandatory for short options too.
-m, --mode=MODE
set file mode (as in chmod), not a=rwx - umask
-p, --parents
no error if existing, make parent directories as needed
-v, --verbose
print a message for each created directory
-Z, --context=CTX
set the SELinux security context of each created directory to CTX
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by David MacKenzie.
REPORTING BUGS
Report mkdir bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report mkdir translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO mkdir(2)
The full documentation for mkdir is maintained as a Texinfo manual. If the info and mkdir programs are properly installed at your site,
the command
info coreutils 'mkdir invocation'
should give you access to the complete manual.
GNU coreutils 8.12.197-032bb September 2011 MKDIR(1)
I am trying to perform a simple if/else check.
if ; then
mkdir /wdnet/oracletest
else
mkdir $CON_DIR
fi
I guess I don't understand the unix basics about comparisons.
My scripts always executes the if, even though my CON_DIR variable is not blank.
What am I doing... (5 Replies)
OK, I had some odd characters in my mkdir command which resulted in the following directory getting created:
drwxr-xr-x 2 fred fredgroup 512 Apr 12 16:52 /
Any ideas how I get rid of it safely?
Interestingly that's a straight cut'n'paste and there appear to be some odd... (4 Replies)
I am having trouble using cp and mkdir commands on a small script. The problem is I have spaces what I am trying to mkdir and then copy. Any suggestions on how I can solve this problem? I've tried searching online.
while read linefile
do
echo mkdir -p $CPP$linefile | cut -d / -f 1-5,8-12
... (10 Replies)
Hi,
I wanted to know how to create a folder using mkdir and then have it copy the permissions from another specified folder on the system.
For example if I did this:
mkdir /Volumes/USBSTICK/System
How can I make it copy the permissions from the /System folder ?
Thanks (4 Replies)
J'ai un soucis avec une commande externe... la voici :
#!/bin/bash/
mkdir lol
mkdir not
sleep 2
mkdir glop
Mon bash l'éxécute (déjà ça :rolleyes:) à sa façon.....
Je me retrouve avec non pas 3 dossiers lol, not et glop. Mais les dossiers : lol?, not? et glop (oui ! un de bon !!!!!). Et, une... (9 Replies)
Hi, I have network mount on two servers.
One server I can create any directories without any issues, other server with the similar mount, I am not able to create directories starting with number!
Creation, name start with a number:
$ mkdir 1212
mkdir: cannot create directory `1212': No such... (12 Replies)
Hi,
I am trying to run a shell script which contains an mkdir command as part of the execution. The script fails with the following error:
mkdir: cannot create directory `/builds/somedir/': Permission denied
The user running the script is 'harry' and belongs to group 'school'.... (5 Replies)
Hi Bros,
I have a question want to receive your help.
On SunOS server. I have 1 file in /etc. mode of file is "read only". I've used chmod 777 commmand to change mode of that file. firstly, it's ok. but about 3 mins after that. The mode of that file rollback to "read only". I don't know how.... (4 Replies)
Is is possible to create the directories in following manner.
for example my home dir is empty
and i want to create dir a/b/c
mkdir a/b/c # where a/b does not exists. (5 Replies)
Hello All,
I am trying to grant sudo privileges to a set of users (say tom and jerry) to sudo to another set of users (jim, harry). This is because we don't want to disclose the password of jim and harry.
I did defined the user_alias and runas alias.
%wms ALL = (USR) /usr/bin/su -, where wms... (7 Replies)
Hi All,
I have a script which called by user id (mftp) . The set up is working on two server and not working one server.
Working Server :
-rw-rw-r-- 1 mftp csp 0 Jan 17 00:14 117001.log
Non working server
-rw-rw-r-- 1 mftp mftp 0 Jan 17 00:14 117001.log
from the above... (18 Replies)
Importing images from a camera (or two).
I sort by date (1901 this month).
Currently (failing)
if ]
then
echo "Found Panasonic G9X"
#echo "List files on camera"
#ls ${pana}/*
. chxdir.sh ${photos}/$mn
I want to change directory to a fixed base ($photos)/$mn... (10 Replies)