Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » 'find' and 'sendmail'
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Can Linux Survive? »
« [FreeBSD] Disk read corruption issues on server.  
AuthorAll Replies


PetePuma
How many lumps do you want
Premium,MVM
join:2002-06-13
Arlington, VA

reply to DprssdIsntFn
Re: 'find' and 'sendmail'

said by DprssdIsntFn See Profile :

sendmail requires that there be no space between angle bracket and the expanded argument. e.g.

I'm curious to see what other folks say. However I can't see why Sendmail would have any visibility into what the shell does in terms of redirection. Are you sure the space is the only problem?


nwrickert
sand groper
Premium,MVM
join:2004-09-04
Geneva, IL
·AT&T U-Verse
·AT&T Midwest

You are correct. The space is a bogus issue.

I think the problem here is that "<" is a shell meta-character, but "find" is passing that directly to sendmail, bypassing the shell. So there is nothing to interpret "<" as file redirection.

Simplest would be to write a short shell script to mail one file, and then use that shell script as command that is run by "find ... -exec".
--
AT&T dsl; Westell 2200 modem/router; SuSE 10.1; firefox 2.0.0.4
Forums » Tech and Talk » OS and Software » All Things UnixCan Linux Survive? »
« [FreeBSD] Disk read corruption issues on server.  


Thursday, 10-Dec 14:25:17 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [200] Sprint Sued For Distracted Driving Death
· [131] AT&T Launching New 24 Mbps U-Verse Tier
· [82] 3G Network Test Says AT&T Is Tops
· [80] AT&T Hints At Usage-Based iPhone Data Pricing
· [72] Mediacom Unveils 105 Mbps Pricing
· [69] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [66] Sprint Poised For A Turnaround?
· [51] The Future Of Wi-Fi Is Bright
· [47] Site Leaks Yahoo, Verizon Fed Data Share Pricing
· [47] Average American Consumes 34 Gigabytes Daily
Most people now reading
· [WIN7] Well, I was dumb, but do I have recourse? [Microsoft Help]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· New Mediacom Email [Mediacom]
· Will Gearscore die now? [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]
· Cross Server Dungeon Experience [World of Warcraft]
· 60GB would only last us two days! [TekSavvy]
· Facebook Asks Users To Personalize Their Privacy [Security]
· [How to] Install Asterisk on an Asus WL-520GU router [VOIP Tech Chat]
· Icecrown 5-man strats [World of Warcraft]