![]() |
| | #1 |
| Agent Smith | When my MySQL database went down this morning, I was doing some command-line crap and decided to load up "pine" since I was already in shell. so I've got 18,232 messages in my inbox. I'm not even kidding. Does anyone know of a 'bulk delete' command in pine?
__________________ Doug Taylor http://76school.flyblog.com (old!) http://30west.flyblog.com (updated 11/28) |
| |
| | #2 |
| Old Skool | Doug This may help: Pine's "Aggregate Command Set" Pine has a very powerful feature called the "aggregate command set", which makes it possible to select a group of messages based on something they have in common (date range, number range, subject line, to line, from line, text in the message, etc.), and then apply a command to all of them (save, delete, etc.). Turning on the Aggregate Command Set If you do not already have the command enabled on your version of pine here is how to do so:
As mentioned above, there are a variety of characteristics that you can use to group messages for selection. Example: You've received a lot of messages from a discussion list that you haven't had time to read. You want to get rid of all of those that are out of date. Let's say the list is "cheaptalk-l@somewhere.edu", and anything before December 1997 is out of date. We're looking for two features that are common to all the messages you want to get rid of:
Now to DO something with the selection Our example calls for us to delete these messages. We do this by using the append command which is the other command of the aggregate command set.
For more information about these commands The Aggregate Command Set is even more powerful than what we've just show above. For more information about it,
![]() |
| |
| | #3 |
| Old Skool Join Date: Sep 2001 Location: Inside your OODA loop
Posts: 6,737
| cd to wherever your inbox file is.... $ cat ' ' > inbox Problem solved. ![]()
__________________ Commercial Pilot, ASEL/AMEL/IA Chief Pilot, aerial mapping company Mountain-qualified Search & Rescue/Disaster Relief Mission Pilot, Civil Air Patrol 900+ TT/25 ME B.S., Psychology, University of Utah |
| |
| | #4 |
| Agent Smith | Sveet!
__________________ Doug Taylor http://76school.flyblog.com (old!) http://30west.flyblog.com (updated 11/28) |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |