procmail
[Top] [All Lists]

Re: strange stuff in backup directory

1997-11-12 08:50:46
Stan Ryckman found the following in his backup directory:

|   /disk3/home/stanr/Mail 119) ls -la backup
|   total 22
|   drwx------  2 stanr         512 Nov 11 21:00 .
|   drwx------  3 stanr        2560 Nov 11 21:11 ..
|   -rw-------  1 stanr        3063 Nov  4 03:31 .nfsA0c724.4
|   -rw-------  1 stanr        1780 Nov  3 23:00 .nfsA47da4.4
|   -rw-------  1 stanr         849 Nov  3 23:22 .nfsA481f4.4
|   -rw-------  1 stanr        2293 Nov 11 11:28 .nfsA737d4.4
|   -rw-------  1 stanr        2598 Nov 11 20:39 msg.HCJB
|   -rw-------  1 stanr        3127 Nov 11 21:00 msg.ICJB
|   -rw-------  1 stanr        1884 Nov 11 20:45 msg.KCJB
|   /disk3/home/stanr/Mail 120)
| 
| Any ideas what might make those .nfs* files?  They contain
| messages which seem to have been successfully processed by
| procmail in the later parts of the .procmailrc .  However,
| I doubt they'd ever get cleaned up if I didn't discover them.

Those look like some of the temporary names procmail uses while it is trying
to write a file out, which it renames if things go well.  I noticed that they
all came from a 4h 31 span overnight; perhaps there was some systems work
being done on your machine that screwed things up?

May I recommend this?

    :0 ic
    | cd backup && rm -f dummy `ls -t msg.* .nfs* | sed -e 1,3d`

<Prev in Thread] Current Thread [Next in Thread>