[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warn when parent directory doesn't exist

From: Paul Jackson
Subject: Re: Warn when parent directory doesn't exist
Date: Thu, 23 Nov 2023 18:52:06 -0600
User-agent: Cyrus-JMAP/3.9.0-alpha0-1234-gac66594aae-fm-20231122.001-gac66594a

> What about making ed create the missing intermediate directories

Do you mean as in:

    !mkdir -p foo/goo.dir

Yeah - I know - old school geek here - feel free to ignore.

Most likely however, if a directory or directory subtree is
missing on a write command, that's a typo in the pathname,
and should error out, not make a new typo-fied path.

                Paul Jackson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]