Re: Choosing directory to save file to, inside nano

Benno Schulenberg <[email protected]> Mon, 5 Jun 2023 17:05:22 +0200
Newsgroups gmane.editors.nano.general
Message-ID <[email protected]>
Op 05-06-2023 om 10:37 schreef Find Marbles:
> is there a way to choose/change the directory to which I can save a file to, 
> inside nano, without having to manually type it out?

The file browser (^O^T) is not what you mean, right?

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
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed