cvs commit: src/sbin/hammer cmd_snapshot.c

Michael Neumann mneumann at
Thu Jun 26 08:57:19 PDT 2008

mneumann    2008/06/26 08:56:45 PDT

DragonFly src repository

  Modified files:
    sbin/hammer          cmd_snapshot.c 
  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>
  Revision  Changes    Path
  1.3       +54 -19    src/sbin/hammer/cmd_snapshot.c

More information about the Commits mailing list