conn-tools
Software
www.skarnet.org
The uniquename program
uniquename writes a unique file name to stdout.
Interface
uniquename [ prefix ] [ r ]
- uniquename writes a suitable file name on stdout. The
name starts with prefix (which can be a directory), if it is given,
and ends with r random printable characters, if r is
given. Even if you don't specify a random suffix, the produced name is
very difficult to predict.
- Two calls to uniquename are guaranteed never to give the
same name.
- uniquename exits 0, or 111 on any error.