you canuse the same linux command on windows if you install some linux tools like MINGw.
an option could be added to select if more people need this.

jens

Den 2022-01-04 11:08 skreiv Peter Voss:
Hello Sisay,

on our linux system I would, in the month folder (REA/TEST_/2021/12), use
grep -r '.' -e 'OP:ss' | grep -v 'OLDACT'
to see the files registrated by operator ss

and this to make 'rm' command lines of the files to be deleted:
grep -r '.' -e 'OP:ss' | grep -v 'OLDACT' | sed s/:// | awk '{print "\\rm",$1}'

I would make a backup first:)
You might need to skip the OLDACT part.

On Windows systems Jens might have a suggestion.

Good luck,
Peter

________________________________
Fra: [email protected] <[email protected]> på vegne af
Sisay Alemayehu <[email protected]>
Sendt: 4. januar 2022 10:30
Til: [email protected] <[email protected]>
Emne: [seisan] Question about how to search an event which has been
registered by a particular operator

Dear Seisan Users,

I have been using the Seisan program for the past seven  years. In my
observatory, we used Seisan for routine earthquake data analysis,
 phase picking, earthquake location and so on.  Recently while I
processed  some data, I registered the same events with two different
operator id.
find attached files.  My question is there any means to select only
events which are registered by the second operator (OP_SS)?
 In the eev, it is possible to do that but as the events are too many,
it takes a lot of time to search and delete manually.


Thanks a lot,


Sisay (seismologist)
Institute of Geophysics, Space Science and Astronomy of Addis Ababa University,
Ethiopia



_______________________________________________
seisan mailing list
[email protected]
https://mailman.uib.no/listinfo/seisan

_______________________________________________
seisan mailing list
[email protected]
https://mailman.uib.no/listinfo/seisan

Reply via email to