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] help needed in faxrcvd script



[Please trim your Cc:'s appropriately]

On Wed, Aug 06, 2003 at 11:40:07AM +0500, Muhammad Rizwan Ali wrote:

[...]
> mv $SPOOL/$FILENAME.pdf /home/public/FAX/
> 
> Now, here I'm stuck. How can I use the date & time for the filename??

Changed the last line to something like:

    mv $SPOOL/$FILENAME.pdf /home/public/FAX/`date '+%Y-%m-%d:%H:%M:%S'`.pdf

-- 
Jonathan Chen <jonc@mobiledatanow.com>
Mobile Data Now                     Tel: +64-9-636-8014
35K Maurice Rd                      Fax: +64-9-636-8534
Penrose, Auckland
New Zealand

____________________ 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.*




Project hosted by iFAX Solutions