From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25370 invoked from network); 16 Oct 2022 21:54:47 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 16 Oct 2022 21:54:47 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 9front; Sun Oct 16 17:53:12 -0400 2022 Received: from stockyard ( [172.102.12.181]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 45ed5f1e (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Sun, 16 Oct 2022 14:53:11 -0700 (PDT) Message-ID: To: 9front@9front.org Date: Sun, 16 Oct 2022 17:53:08 -0400 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: proven callback WEB2.0 over ORM general-purpose-based core service method Subject: Re: [9front] [PATCH] hget: file name detection Reply-To: 9front@9front.org Precedence: bulk Quoth Alex Musolino : > > take a look at RFC6266 for the filename param; we should probably use that > > if it is present. > > I think that would just create more problems. Now the target filename is hidden. You’d have to print out the name of the file it wrote for it to be available for further manipulation in a script, say. > > Furthermore, what happens if the destination already exists? You can’t just overwrite it. > > I think this -a may just be a bad idea. If you want to do this kind of thing in the privacy of your own $home it shouldn’t be hard to create a wrapper script that does whatever you want. consider me convinced.