[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Choosing directory to save file to, inside nano
From: |
Benno Schulenberg |
Subject: |
Re: Choosing directory to save file to, inside nano |
Date: |
Mon, 5 Jun 2023 17:05:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
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
Description: OpenPGP digital signature