Re: MUAs and timestamps, was Re: how to grep without changing timestamps?

2001-01-22 Thread Maciej Kalisiak
On Fri, Jan 12, 2001 at 12:45:29PM -0500, Erdmut Pfeifer wrote: [--8-- a very nice'n'quick script ---] Perfect! Thanks to all who replied, all your suggestions were helpful. I'll probably use Erdmut's script as it's so nice, short and clean and because I just love Perl. :) -- Maciej Kalisiak

Re: MUAs and timestamps, was Re: how to grep without changing timestamps?

2001-01-12 Thread David Wright
Quoting D-Man ([EMAIL PROTECTED]): | Also, where is | mutt supposed to keep the information about which messages were | previously in the folder? | In the folder itself. There is a header that has this info, just open it in vim or something. I did some checking just now and couldn't

Re: MUAs and timestamps, was Re: how to grep without changing timestamps?

2001-01-12 Thread Erdmut Pfeifer
On Fri, Jan 12, 2001 at 02:11:58PM +, David Wright wrote: (...) The idea that mutt should have to scan all my inboxes to determine whether I have new mail is bad enough; the idea that the inboxes should be rewritten (not even just appended to) would be crazy. right, I'd definitely

Re: MUAs and timestamps, was Re: how to grep without changing timestamps?

2001-01-12 Thread Cliff Sarginson
On Thu, Jan 11, 2001 at 07:58:00PM -0500, D-Man wrote: On Thu, Jan 11, 2001 at 07:35:06PM -0500, Chris Gray wrote: | D-Man writes: | | d | How is mutt (or any other MUA) meant to do it then? | d | | | d By checking the file itself for new messages, rather than | d

MUAs and timestamps, was Re: how to grep without changing timestamps?

2001-01-11 Thread David Wright
Quoting R. Ransbottom ([EMAIL PROTECTED]): on Sun, Dec 31, 2000 at 02:04:57PM -0500, Maciej Kalisiak ([EMAIL PROTECTED]) wrote: Is it possible to grep a ton of files without modifying their date/timestamps? Currently if I use grep, it changes the access time of all files touched,

Re: MUAs and timestamps, was Re: how to grep without changing timestamps?

2001-01-11 Thread D-Man
On Thu, Jan 11, 2001 at 06:04:42PM +, David Wright wrote: | Quoting R. Ransbottom ([EMAIL PROTECTED]): | | on Sun, Dec 31, 2000 at 02:04:57PM -0500, Maciej Kalisiak ([EMAIL PROTECTED]) wrote: |Is it possible to grep a ton of files without modifying their |date/timestamps?

Re: MUAs and timestamps, was Re: how to grep without changing timestamps?

2001-01-11 Thread Chris Gray
D-Man writes: d | How is mutt (or any other MUA) meant to do it then? d | d By checking the file itself for new messages, rather than d relying on the timestamp. Some MUA's handle new messages in d folders better. (ie, you can open up the mailbox, not read d

Re: MUAs and timestamps, was Re: how to grep without changing timestamps?

2001-01-11 Thread D-Man
On Thu, Jan 11, 2001 at 07:35:06PM -0500, Chris Gray wrote: | D-Man writes: | | d | How is mutt (or any other MUA) meant to do it then? | d | | | d By checking the file itself for new messages, rather than | d relying on the timestamp. Some MUA's handle new messages in |

Re: how to grep without changing timestamps?

2001-01-11 Thread Issakov M.
On Sun, Dec 31, 2000 at 02:04:57PM -0500, Maciej Kalisiak wrote: Hello all, Is it possible to grep a ton of files without modifying their date/timestamps? Currently if I use grep, it changes the access time of all files touched, which causes mutt to lose track of the folders which have

Re: MUAs and timestamps, was Re: how to grep without changing timestamps?

2001-01-11 Thread Chris Gray
D-Man writes: d | noatime, and then remounting without that option. It also appears d | that 'touch' can change the access time of the file with the -a flag. d | But I think I'm coming in on the end of this thread and that might d I just joined the thread when the subject

Re: how to grep without changing timestamps?

2001-01-10 Thread R. Ransbottom
On Sun, 31 Dec 2000 kmself@ix.netcom.com wrote: on Sun, Dec 31, 2000 at 02:04:57PM -0500, Maciej Kalisiak ([EMAIL PROTECTED]) wrote: Is it possible to grep a ton of files without modifying their date/timestamps? Currently if I use grep, it changes the access time of all files touched,

Re: how to grep without changing timestamps?

2001-01-03 Thread Maciej Kalisiak
On Tue, Jan 02, 2001 at 03:14:34AM -0500, will trillich wrote: Is it possible to grep a ton of files without modifying their date/timestamps? Currently if I use grep, it changes the access time of all files touched, which causes mutt to lose track of the folders which have new mail (I

Re: how to grep without changing timestamps?

2001-01-02 Thread will trillich
On Sun, Dec 31, 2000 at 02:04:57PM -0500, Maciej Kalisiak wrote: Hello all, Is it possible to grep a ton of files without modifying their date/timestamps? Currently if I use grep, it changes the access time of all files touched, which causes mutt to lose track of the folders which have new

Re: how to grep without changing timestamps?

2001-01-02 Thread Sam Vilain
You need to make sure that something calls utime() to reset the filestamps. You can't reset the ctime (inode change time), but the atime (inode access time) and the mtime (inode timestamp) are changable. Here is a simple example Perl script that works a little like grep: -- #!/usr/bin/perl

how to grep without changing timestamps?

2000-12-31 Thread Maciej Kalisiak
Hello all, Is it possible to grep a ton of files without modifying their date/timestamps? Currently if I use grep, it changes the access time of all files touched, which causes mutt to lose track of the folders which have new mail (I guess it looks at the timestamp last modified and last accessed

Re: how to grep without changing timestamps?

2000-12-31 Thread Michael P. Soulier
On Sun, Dec 31, 2000 at 02:04:57PM -0500, Maciej Kalisiak wrote: Hello all, Is it possible to grep a ton of files without modifying their date/timestamps? Currently if I use grep, it changes the access time of all files touched, which causes mutt to lose track of the folders which have new

Re: how to grep without changing timestamps?

2000-12-31 Thread kmself
on Sun, Dec 31, 2000 at 02:04:57PM -0500, Maciej Kalisiak ([EMAIL PROTECTED]) wrote: Hello all, Is it possible to grep a ton of files without modifying their date/timestamps? Currently if I use grep, it changes the access time of all files touched, which causes mutt to lose track of the