Re: How to send mails with attachments for each file in a directory ?
On 2008-01-30 09:26:12, Dan H. wrote:
> My favorite way is to use find's -printf directive to construct the complete
> commands and pipe the result to a shell. Has the advantage that you first
> hack away at your complete find commend and give it a dry run, and if you're
> happy with what it spits out you just tack the "| sh" bit to the end.
Now, _that_ is a tip i wish I head read earlier, guess it also plays
really well with akward input like stuff you need to escape as you can
simply look at what it will do before killing a lot of stuff.
martin
Reply to: