Re: Sort files by filename
- From: Rodolfo Alcazar Portillo <rodolfo.alcazar@xxxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 14:38:24 -0400
On 7/31/07, Mark Haney <mhaney@xxxxxxxxxxxxxxxx> wrote:
Rodolfo Alcazar Portillo wrote:...
Am Dienstag, den 31.07.2007, 11:00 -0400 schrieb Miner, Jonathan W (CSC)
[rodolfoap] /home/rodolfoap > for n in $(seq 10 40); do touch XXXX20070515_112011_942_${n}.bz2; done
[rodolfoap] /home/rodolfoap > rm XXXX20070515_112011_942_11.bz2
[rodolfoap] /home/rodolfoap > rm XXXX20070515_112011_942_22.bz2
[rodolfoap] /home/rodolfoap > rm XXXX20070515_112011_942_33.bz2
[rodolfoap] /home/rodolfoap > for n in $(seq 10 40); do if [ ! -e *_${n}.bz2 ]; then echo NOT FOUND: $n; fi; done
NOT FOUND: 11
NOT FOUND: 22
NOT FOUND: 33
[rodolfoap] /home/rodolfoap >
Good luck.
I think this would probably work except I really need to know which ones
are out of sequence as is, changing the filename would eliminate that
capability and the missing files are the ones I need. See, I'm
receiving the files from a separate server and they are sent to me in
this format. I need to know which ones I /don't/ receive so I know
which ones I need to have resent. Make sense?
Yes. But you must have a pattern with which we can compare your received
files. Which is the exact pattern? If you have this clear, we can
probably solve the problem with bash.
Waiting...
----------------------------------------------
Rodolfo Alcazar - rodolfo.alcazar@xxxxxxxxxxxx
591-70656800, -22417628, LA PAZ, BOLIVIA
otbits.blogspot.com / counter.li.org: #367962
----------------------------------------------
- Save my friends! And Zoidberg!
Bender
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: Sort files by filename
- From: Mark Haney
- Re: Sort files by filename
- References:
- Sort files by filename
- From: Mark Haney
- RE: Sort files by filename
- From: Miner, Jonathan W (CSC) (US SSA)
- RE: Sort files by filename
- From: Rodolfo Alcazar Portillo
- Re: Sort files by filename
- From: Mark Haney
- Re: Sort files by filename
- From: Kam Leo
- Sort files by filename
- Prev by Date: Re: Switch computer back to Eastern time
- Next by Date: Re: Sort files by filename
- Previous by thread: Re: Sort files by filename
- Next by thread: Re: Sort files by filename
- Index(es):
Relevant Pages
- Radio Shack PRO-97 No reception of audio signal
... not had any luck picking up the weather channels. ... While the Pro-26
is receiving signals on the same bands. ... (rec.radio.scanner) - Difficulty installing Zoo Tycoon and Hoyle Card Games
... I have been receiving the following message when attempting to install the ...
above listed games and am having no luck with determining how to solve the ... (microsoft.public.windowsxp.games) - Re: Mail scanner
... I recommend using a Barracuda Networks Spam Firewall. ... luck with them
and they seem to do about 99.9% of the things we want ... to about 25% of what we had been receiving.
... (Security-Basics) - RE: Front Page 2000 - Error 2
... I've tried all 3 of the options below with no luck. ... I'm receiving
the error message on 2 different PC's. ... MSFT ... (microsoft.public.frontpage.extensions.windowsnt)