![]() |
On Friday 22 August 2003 06:36 am, Taboo Test wrote: > Dear all, > > I am using Red Hat Linux 9.0 and Hylafax 4.1.6( in RPM). i am going > change the name of the incoming fax in this format: date_serial.tif. For > example, if today is 14-08-2003, then, the name of the first incoming fax > will be automatically assigned a name as 14082003_001. One more example, if > the fifth fax on 24-09-2003 will be given a name as 24092003_005. I think > it will make the management of fax more flexible. I have found a line in > /var/spool/hylafax/bin/faxrcvd: > > "FILENAME=`echo $FILE | $SED -e 's/\.tif//' -e 's/recvq\///'`" > For example, something like : ls -ltr $FILES 2>/dev/null | awk '{ printf("%s_%s_%s_%s", $6, $7, $8, ++i) >file system mv $9 $file) }' This needs some work, of course, but you get the idea.... Use ls - ltru to get hours and minuites too If you have caller id, that can give even more accurate fax times. George ____________________ 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@hylafax.org < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*