DragonFly commits List (threaded) for 2008-06
DragonFly BSD
DragonFly commits List (threaded) for 2008-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sbin/hammer cmd_snapshot.c


From: Michael Neumann <mneumann@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Jun 2008 08:56:45 -0700 (PDT)

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

DragonFly src repository

  Modified files:
    sbin/hammer          cmd_snapshot.c 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sbin/hammer/cmd_snapshot.c.diff?r1=1.2&r2=1.3&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]