[Linuxcommand-discuss] how to remove "mbox.ibex" files from all subfolders?
Brought to you by:
bshotts
|
From: Mertens B. <bra...@li...> - 2002-11-07 14:45:38
|
Hi, I'm not sure this requires a script, but I don't know how to this using pipes or i/O redirection... Any help with either solution will be greatly appreciated! I'm using Evolution 1.0.8 as my mail-client, all mail and data is store in ~/evolution/ and its subfolders. I would like a script or command that checks through ~/evolution recursively and deletes all files named "mbox.ibex". I can find the files with either: ls lh -R evolution/ | grep ibex or find evolution/ -name mbox.ibex (when I'm in my home dir off course...) Is there a way to pass these files to rm? I could copy the rm-commands I now used to delete them all into a script but then I would have to edit the script every a new subfolder is created, renamed or deleted... TIA -- # Mertens Bram "M8ram" <bra...@li...> Linux User #249103 # # Red Hat Linux 7.3 KDE 3.0.0-10 kernel 2.4.18-3 i686 128MB RAM # |