[Top][All Lists]

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

Re: mkdir new parameter

From: Davide Brini
Subject: Re: mkdir new parameter
Date: Fri, 29 Jul 2011 13:29:03 +0200

On Thu, 28 Jul 2011 21:52:47 -0300 (BRT), Willian Sodré da Paixão
<address@hidden> wrote:

> Almost every time I make a directory, I get into it.
> So, I thought: would be nice if a parameter -something create and enter
> the new directory.
> I can do it, but you will apply the patch? This idea is realy good for
> you?

I don't think that's possible. The concept of "current directory" is
per-process, so even if mkdir "entered" the newly-created directory, when
it terminates you would still be where you were in the parent process (eg,
the shell).

On the other hand, what you need is trivially done with a shell function or


reply via email to

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