HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Fax Pickup via Spool Directory



Yes, it works. But in the spool directory there are many fax-files. I've
to put it in a Script that pick up all files with the ".FAX" extension,
parse, fax and delete them.

Thank you very much for your lesson in "How to write a script"

Am Donnerstag, den 17.03.2005, 17:03 +0000 schrieb Matt Fretwell:
> Tim Rice wrote:
> 
> 
> > Something like (totally untested)
> >
> > FAX_NUM=`grep "@@" /path/to/spooled/file | sed -e 's/^.*@@//' -e
> > 's/@@.*//'`
> > sendfax -n -d ${FAX_NUM} /path/to/spooled/file
> 
> 
>  Or, if the @ signs are at the start and end of line:
> 
> FAX_NUM=$(grep '^@@' /path/to/spooled/file | tr -d '@')
> 



____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions