coreutils
[Top][All Lists]
Advanced

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

Suggestion: cdm command


From: Mourad Bougarne
Subject: Suggestion: cdm command
Date: Tue, 12 Jan 2021 15:20:28 +0100

Hello,

I know that there's a command option to create a directory if not exists
using mkdir -p DIRECTORY_NAME, but what I suggest is create a directory if
not exists when we change it, so:

$ cd non-exists-directory
$ bash: cd: non-exists-directory: No such file or directory

With the command that I suggest we can do:
cdm: change directory make if not exists
$ cdm non-exists-directory

Regards,
Mourad


reply via email to

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