HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] how to set destination from filename ?
On Sun, 20 Jan 2008 05:00:05 -0800 (PST) Emin Can <emincan13@xxxxxxxxx> wrote:
> Hi
> I am using an erp program. Erp program generates pdf
> file for faxing. These files names consist of
> destination fax number and erp program locate these
> files /var/fax/autofax directory .
>
> directory looks like
>
> [root@mail autofax]# ls
> 3547205.pdf 5655555.pdf 5673677.pdf
[...]
Hulafax doesn't do such directory scanning, so you need to write a simple shell script like
for i in *.pdf
do
sendfax $allmycommonoptions -d $(basename "$i" .pdf) "$i"
done
Bye,
Giuseppe
____________________ 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*