Re: Choosing directory to save file to, inside nano

Find Marbles <[email protected]> Mon, 5 Jun 2023 17:18:59 +0200
Newsgroups gmane.editors.nano.general
Message-ID <CAK+dMbrrZdPuy_mf6fKSVpAsSv0JtzV814Oox6+jbdi6SdG_jg@mail.gmail.com>
The file browser would indeed be ideal, but it seems I'm too stupid to
utilize it. Could you walk me through it? Text has been inputted into nano
and nano has been opened. ^O opens save menu and ^T the file browser, I
navigate to the directory I want and then what?


Am Mo., 5. Juni 2023 um 17:05 Uhr schrieb Benno Schulenberg <
[email protected]>:

>
> But maybe --operatingdir (short: -o) is what you're looking for?
>
>    yourscript | nano - -o /path/to/your/saving/folder
>
> After ^S you then have to type just the name of the file, and
> nano will save it in the folder passed with -o.
>
> Benno
>
Unfortunately no. The saving folder is not set. It changes from text to
text.