rm $( locate Maildir | grep ,ST ) will not work to remove deleted emails
From: John Schmerold (John_at_katy.com)
Date: 01/27/04
- Next message: Wiggins D Anconia: "Re: using Perl to auto-login to capitalone.com"
- Previous message: Paul Johnson: "Re: How to import symbols and semantics from one namespace into another"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: beginners@perl.org Date: Tue, 27 Jan 2004 15:59:37 -0600
I have a number of Outlook XP users that don't purge their deleted
emails, so I want to remove them myselve with following regex command:
rm $( locate Maildir | grep ,ST )
Outut is:
rm: cannot remove `/home/vmail/jam/Maildir/.Personal': No such file
or directory
rm: cannot remove `items.Saved': No such file or directory
rm: cannot remove
`mail/cur/1057584180.M419677P14546V0000000000000904I00105779_52.mail.lp.com,S=31113:2,ST':
No such file or directory
It seems to be splitting the file name into multiple responses.
Any ideas regarding how to fix this? I'm trying to delete any file that
ends an a ",ST"
TIA
- Next message: Wiggins D Anconia: "Re: using Perl to auto-login to capitalone.com"
- Previous message: Paul Johnson: "Re: How to import symbols and semantics from one namespace into another"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]