X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Tue, 30 Apr 2024 13:30:45 +0200 (CEST) From: Roland Lutz To: "Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com]" Subject: Re: [geda-user] Gschem refdes autonumber over multiple pages? In-Reply-To: Message-ID: <87c7c457-5d38-6493-874d-ca55a5ec11f2@grinsen-ohne-katze.de> References: <37de350c-1e5f-422f-b13a-c5a9a1e132ac AT linetec DOT nl> <20240429130455 DOT F01EF81AB8C5 AT turkos DOT aspodata DOT se> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi Richard, On Tue, 30 Apr 2024, Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com] wrote: > I guess there isn't an external command for saving the currently > opened files from the command line? Or is there? Then I could > incorporate it in my script, prior to updating the list. there is the command-line option --control-fd= which takes an open file descriptor or the value "stdin" as an argument. Via this file descriptor, the following commands can be used to control gschem: > The following commands are supported: > > visit FILE > save FILE > save-all > revert FILE > close FILE > patch-filename FILE PATCHFILE > import-patch FILE [PATCHFILE] > quit > help > > File paths must be absolute, except for patch filenames which are > resolved relative to the main file. Arguments are separated by spaces; > spaces and backslashes inside arguments must be escaped with a backslash. Maybe this is what you are looking for? Roland