opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-make@gnu.org 14 April 2012 • 5:51PM -0400

Re: how to use not "also" symbolic link time, but "only"
by Michael Ludwig

REPLY TO AUTHOR
 
REPLY TO GROUP




Bryan Ischo schrieb am 13.04.2012 um 10:05 (-0700):

> In my particular case, I have rules for creating directories
> on-demand, and those rules were difficult to work in a way that
> didn't sometimes 'mkdir' a directory that already existed.

Not a problem using mkdir -p :

$ mkdir -p a/b/c
$ mkdir -p a/b/c
$ mkdir -p a/b/c

On Windows:

$ if not exist a\b\c md a\b\c
$ if not exist a\b\c md a\b\c
$ if not exist a\b\c md a\b\c

> It was easier to just send the mkdir output to null and never worry
> about it.

Maybe less clean, but effectively the same thing.
--
Michael Ludwig

_______________________________________________
Help-make mailing list
Help-make@gnu....
https://lists.gnu.org/mailman/listinfo/help-make

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.