Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #286739
| From | debian-user@howorth.org.uk |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: a hopefully simple ls command question? |
| Date | 2026-05-17 18:40 +0200 |
| Message-ID | <MVMGZ-5RgZ-1@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <MVsoV-5CXY-5@gated-at.bofh.it> <MVsRX-5Dqo-1@gated-at.bofh.it> <MVtO2-5E2T-11@gated-at.bofh.it> <MVu7n-5EaB-7@gated-at.bofh.it> <MVuqJ-5Eyc-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Karen Lewellen <klewellen@shellworld.net> wrote: > I am a bit lost. > where are the temp files? The temp files are created by the touch commands and are called start and end. They are in the /tmp directory and are removed by the last line of greg's little script. I think his approach is probably about as simple as you will find. > honestly, I just want a simple file display showing what might be a > dozen file names in this specific window. > why is this not possible? > Kare > > > > On Sat, 16 May 2026, Greg Wooledge wrote: > > > On Sat, May 16, 2026 at 16:25:41 -0400, Karen Lewellen wrote: > >> Also, because I create many text files in a given day, my goal is > >> very tight here, but it seems I cannot provide actual dates, just > >> a number of days window? > >> There is not a syntax for say the window of 12 may, say 5 days > >> ago until 14 may, which would be 2 days ago? > > > > There are lots of ways to solve this problem. Here's another > > approach: > > > > touch -t 202605120000 /tmp/start > > touch -t 202605150000 /tmp/end > > find . -name '*.txt' -newer /tmp/start ! -newer /tmp/end -print > > rm /tmp/start /tmp/end > > > > This creates two temporary files whose timestamps delimit the period > > of time we're interested in: from the start of 2026-05-12 to the > > start of 2026-05-15. This is a period lasting 72 hours (3 days). > > > > As before, you can replace -print with -ls or -printf if you want a > > different output format. > > > > >
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar
a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-16 06:00 +0200
Re: a hopefully simple ls command question? David Christensen <dpchrist@holgerdanske.com> - 2026-05-16 06:30 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-16 09:20 +0200
Re: a hopefully simple ls command question? debian-user@howorth.org.uk - 2026-05-16 12:20 +0200
Re: a hopefully simple ls command question? David Christensen <dpchrist@holgerdanske.com> - 2026-05-17 08:00 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-17 23:20 +0200
Re: a hopefully simple ls command question? Teemu Likonen <tlikonen@iki.fi> - 2026-05-16 07:00 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-16 09:20 +0200
Re: a hopefully simple ls command question? Dan Ritter <dsr@randomstring.org> - 2026-05-16 10:20 +0200
Re: a hopefully simple ls command question? Greg Wooledge <greg@wooledge.org> - 2026-05-16 14:50 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-16 22:30 +0200
Re: a hopefully simple ls command question? Greg Wooledge <greg@wooledge.org> - 2026-05-16 22:50 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-16 23:10 +0200
Re: a hopefully simple ls command question? debian-user@howorth.org.uk - 2026-05-17 18:40 +0200
Re: a hopefully simple ls command question? Dan Ritter <dsr@randomstring.org> - 2026-05-17 01:00 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-17 02:30 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-17 07:30 +0200
Re: a hopefully simple ls command question? John Hasler <john@sugarbit.com> - 2026-05-17 15:20 +0200
Re: a hopefully simple ls command question? John Hasler <john@sugarbit.com> - 2026-05-17 22:10 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-18 00:10 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-18 05:50 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-18 07:00 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-18 07:40 +0200
Re: a hopefully simple ls command question? David Wright <deblis@lionunicorn.co.uk> - 2026-05-18 05:30 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-16 22:40 +0200
Re: a hopefully simple ls command question? Chime Hart <chime@hubert-humphrey.com> - 2026-05-16 22:50 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-16 23:10 +0200
Re: a hopefully simple ls command question? CGS <etphonehomefrance@gmail.com> - 2026-05-17 16:40 +0200
Re: a hopefully simple ls command question? Karen Lewellen <klewellen@shellworld.net> - 2026-05-16 21:00 +0200
Re: a hopefully simple ls command question? Karl Vogel <vogelke+debian@pobox.com> - 2026-05-16 21:50 +0200
Re: a hopefully simple ls command question? Greg Wooledge <greg@wooledge.org> - 2026-05-16 21:30 +0200
Re: a hopefully simple ls command question? Andrew Latham <lathama@gmail.com> - 2026-05-16 21:30 +0200
csiph-web