Re: batch deleting [thanks Monte and David]
On Fri, Oct 08, 2010 at 07:46:29PM -0300, Monte Stevens wrote: On Fri, Oct 08, 2010 at 03:28:02PM -0700, Robert Holtzman wrote: On Fri, Oct 08, 2010 at 09:08:50AM -0300, Monte Stevens wrote: On Fri, Oct 08, 2010 at 12:29:31AM -0700, Robert Holtzman wrote: I can't find a way to delete a specifie range of messages, ie message #1-1000. If it's in the docs I missed it and a search turned up nothing of value. Is ~m what you want? You lost me. I don't see it in the help menu or the docs. What did I miss. When I tried it I got the new mail template (as expected). In `man muttrc` there is a list of simple patterns, one of which is: ~m MIN-MAX message in the range MIN to MAX . So, to delete messages 1-1000 I would type: D ~m 1-1000 Enter Many thanks. Later I also found the answer in the manual under patterns. For some reason I skipped this hit when I ran the search. -- Bob Holtzman Key ID: 8D549279 If you think you're getting free lunch, check the price of the beer signature.asc Description: Digital signature
batch deleting
I can't find a way to delete a specifie range of messages, ie message #1-1000. If it's in the docs I missed it and a search turned up nothing of value. -- Bob Holtzman Key ID: 8D549279 If you think you're getting free lunch, check the price of the beer signature.asc Description: Digital signature
Re: batch deleting
On Fri, Oct 08, 2010 at 12:29:31AM -0700, Robert Holtzman wrote: I can't find a way to delete a specifie range of messages, ie message #1-1000. If it's in the docs I missed it and a search turned up nothing of value. Is ~m what you want? -- Monte
Re: batch deleting
On Fri, Oct 08, 2010 at 09:08:50AM -0300, Monte Stevens wrote: On Fri, Oct 08, 2010 at 12:29:31AM -0700, Robert Holtzman wrote: I can't find a way to delete a specifie range of messages, ie message #1-1000. If it's in the docs I missed it and a search turned up nothing of value. Is ~m what you want? You lost me. I don't see it in the help menu or the docs. What did I miss. When I tried it I got the new mail template (as expected). -- Bob Holtzman Key ID: 8D549279 If you think you're getting free lunch, check the price of the beer signature.asc Description: Digital signature
Re: batch deleting
* On 08 Oct 2010, Robert Holtzman wrote: On Fri, Oct 08, 2010 at 09:08:50AM -0300, Monte Stevens wrote: On Fri, Oct 08, 2010 at 12:29:31AM -0700, Robert Holtzman wrote: I can't find a way to delete a specifie range of messages, ie message #1-1000. If it's in the docs I missed it and a search turned up nothing of value. Is ~m what you want? You lost me. I don't see it in the help menu or the docs. What did I miss. When I tried it I got the new mail template (as expected). ~m1-1000 is a search expression. You can enter that to tag messages and then deleted tagged messages, or you can delete by pattern. Most search patterns begin with ~ and most times someone speaks of something that begins with ~ they're talking about a search pattern. -- David Champion * d...@uchicago.edu * IT Services * University of Chicago
Re: batch deleting
On Fri, Oct 08, 2010 at 03:28:02PM -0700, Robert Holtzman wrote: On Fri, Oct 08, 2010 at 09:08:50AM -0300, Monte Stevens wrote: On Fri, Oct 08, 2010 at 12:29:31AM -0700, Robert Holtzman wrote: I can't find a way to delete a specifie range of messages, ie message #1-1000. If it's in the docs I missed it and a search turned up nothing of value. Is ~m what you want? You lost me. I don't see it in the help menu or the docs. What did I miss. When I tried it I got the new mail template (as expected). In `man muttrc` there is a list of simple patterns, one of which is: ~m MIN-MAX message in the range MIN to MAX . So, to delete messages 1-1000 I would type: D ~m 1-1000 Enter . Note that, in my case, D is bound to delete-pattern. -- Monte