Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #596
| From | Martin Bazley <martin.bazley@blueyonder.co.uk> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: A one-liner to save (any)file with the date as filename |
| Message-ID | <6920a10152.martin@blueyonder.co.uk> (permalink) |
| References | <d2b97e0152.rogerarm@rogerarm.freeuk.com> |
| Organization | virginmedia.com |
| Date | 2011-08-12 15:02 +0100 |
The following bytes were arranged on 12 Aug 2011 by Roger Darlington : > > I want a simple one-liner to insert in the run-file of FTPc that will > save a file (any file, one of zero length) that has the date and time > as the filename of that file. This is theoretically possible, using a combination of *Eval and *Create, but I suspect it can't be done in one line and without using system variables. Anyway... > This is just a simple way of showing me when I last ran FTPc. > I can look inside the FTPc app and look at the filename and see when I > last ran it. ...has it occurred to you that saving the time as the *filename* is completely useless for the task you want to do? All you'd end up with is a mess of files inside FTPc, one for each time you had ever run it, without previous times being deleted or overwritten. Finding out which was most recent would be far more trouble than simply using *Create to save a blank file of a fixed filename, and examining its datestamp from the Filer menu. If the filename doesn't change, then only one time - the most recent - can exist at once. -- __<^>__ / _ _ \ I don't have a problem with God; it's his fan club I can't stand. ( ( |_| ) ) \_> <_/ ======================= Martin Bazley ==========================
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A one-liner to save (any)file with the date as filename Roger Darlington <rogerarm@freeuk.com> - 2011-08-12 08:46 +0100
Re: A one-liner to save (any)file with the date as filename "John Williams (News)" <UCEbin@tiscali.co.uk> - 2011-08-12 10:31 +0200
Re: A one-liner to save (any)file with the date as filename "John Williams (News)" <UCEbin@tiscali.co.uk> - 2011-08-12 10:38 +0200
Re: A one-liner to save (any)file with the date as filename jgharston <jgh@arcade.demon.co.uk> - 2011-08-12 04:22 -0700
Re: A one-liner to save (any)file with the date as filename Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-08-13 02:51 +0100
Re: A one-liner to save (any)file with the date as filename Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-08-12 15:02 +0100
Re: A one-liner to save (any)file with the date as filename Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-08-13 01:03 +0200
Re: A one-liner to save (any)file with the date as filename druck <news@druck.org.uk> - 2011-08-13 15:06 +0100
Re: A one-liner to save (any)file with the date as filename Roger Darlington <rogerarm@freeuk.com> - 2011-08-16 08:23 +0100
csiph-web