[SATLUG] Re: D-Link Netcams

Geoff Edmonson w5omr at att.net
Mon May 2 18:58:56 CDT 2011

On 05/01/2011 02:53 PM, Frank Huddleston wrote:
>> ...  I would like to get the file name into is ISO 8601 format (EX.
>> IPAddress-YYYY-MM-DD-TIME.jpg) unfortunately %date% and %time%
>> variables produce an invalid file format.
>   I see you are getting recommendations about other tools, so good 
> luck there. As far as using the date command to
> make file names, you can format it to get something that will make a 
> better file name. I get a YYYYMMDD type format this way (I've already 
> set $prefix elsewhere):
> outfilename=$prefix-`date +%Y%m%d`.mp3

That doesn't do anything for the time variable, or does the filename 
increment with each instance?

More information about the SATLUG mailing list