public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Finer grained date output.
@ 2005-08-20  2:07 Harry Putnam
  2005-08-20  2:17 ` Marco Matthies
  0 siblings, 1 reply; 6+ messages in thread
From: Harry Putnam @ 2005-08-20  2:07 UTC (permalink / raw
  To: gentoo-user

This question is not gentoo specific but really a more general
question about date manipulation.

Like many people I use the `date' command to set file names that need to
be unique by using one of the specially formatted commands, to output
something like:

    img_080905_103343.jpg

Which is img_$(date +"%m%d%y_%H%M%S").jpg  or mnthdayyr_hrminsec

This is used in file renaming scripts or the like.

I want to find some tool that outputs a more fine grained reading.
Maybe adding milliseconds to output so that the unique names can be
generated in less than a second.

I know about perl scipting for this but wanted something like the
`date' command that is its own dedicated program.

Is there a unix tool that outputs a finer grain of time segments?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-20 11:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-20  2:07 [gentoo-user] Finer grained date output Harry Putnam
2005-08-20  2:17 ` Marco Matthies
2005-08-20  2:38   ` [gentoo-user] " Harry Putnam
2005-08-20  2:58     ` Marco Matthies
2005-08-20  5:08   ` [gentoo-user] " Willie Wong
2005-08-20 11:45     ` Marco Matthies

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox