LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-19-2007, 12:53 PM   #1
wmcase
Member
 
Registered: Sep 2003
Location: Ottawa, Ontario, Canada
Distribution: Fedora 12
Posts: 57

Rep: Reputation: 15
Two dumb mutt questions ??


Hi;

I have read the mutt manual and googled for a couple of hours now. What I want to do is simple. I am sure that I am just mis-forming my mutt command, but damned if I know how. I've tried everything I can think of.

1) I want to delete every message in mutt lesser than a given date. The following and all its variations seem logical to me:

'D' [then] '-d <Mar 12' -- but nothing happens

2) Each message has a consequitive number on the left hand side. I would think I could use this number to identify a specific message in a command. But, how?

Last edited by wmcase; 04-19-2007 at 12:55 PM.
 
Old 04-20-2007, 09:30 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
"Mutt supports two types of dates, absolute and relative.

Absolute. Dates must be in DD/MM/YY format (month and year are optional, defaulting to the current month and year). An example of a valid range of dates is:

Limit to messages matching: ~d 20/1/95-31/10

If you omit the minimum (first) date, and just specify ``-DD/MM/YY'', all messages before the given date will be selected. If you omit the maximum (second) date, and specify ``DD/MM/YY-'', all messages after the given date will be selected. If you specify a single date with no dash (``-''), only messages sent on the given date will be selected."

http://www.mutt.org/doc/manual/manual-4.html#ss4.2

Quote:
I want to delete every message in mutt lesser than a given date.

'D' [then] '-d <Mar 12' -- but nothing happens
You want this:

D [then] ~d -12/03

NOTE: use ~d not -d. The use of < to delete is relative to the current date.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Two more Mutt questions Peter Cooper Linux - Desktop 2 12-08-2006 07:15 AM
More dumb questions VBAHole22 Linux - Newbie 1 06-18-2004 09:00 AM
Mutt questions S.D.Willie Linux - Software 5 05-20-2004 04:42 PM
These might be dumb questions but.... BajaNick Linux - Security 6 08-10-2003 08:31 PM
Pine, Mutt questions hyrule Linux - Software 0 03-04-2003 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration