Use strftime to produce the snapshot name, for example:
authorMichael Neumann <mneumann@dragonflybsd.org>
Thu, 26 Jun 2008 15:56:44 +0000 (15:56 +0000)
committerMichael Neumann <mneumann@dragonflybsd.org>
Thu, 26 Jun 2008 15:56:44 +0000 (15:56 +0000)
commitf8052532f2eb32589814b052744963ed66785827
tree995fe31a1ee1d8c9e62928503b2d309421578301
parent2fdb40f86adf564ef09cf49a3f8c797ebba4ca86
Use strftime to produce the snapshot name, for example:

    hammer snapshot "/mysnapshots/snap-%Y-%m-%dT%H:%M:%S"

Usage is now:

    hammer snapshot <softlink-dir-fmt>
    hammer snapshot <filesystem> <softlink-dir-fmt>
sbin/hammer/cmd_snapshot.c