[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Sheflug] Unique temporary filename
what about using a date & time based filename, but before it writes the file
get it to check to see if there is one of the same name that already exists,
and if so it adds an incremental number to the end of the file.
> Alternatively, I'll have to construct something using date
> and time and
> process number. Would a simple concatenation of those work?
>
> Suggestions on the back of a postcard...
Internet communications are not secure and therefore the Barclays Group
does not accept legal responsibility for the contents of this message.
Although the Barclays Group operates anti-virus programmes, it does not
accept responsibility for any damage whatsoever that is caused by
viruses being passed. Any views or opinions presented are solely those
of the author and do not necessarily represent those of the Barclays
Group. Replies to this email may be monitored by the Barclays Group
for operational or business reasons.
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.