To: | Sascha Wildner <saw@xxxxxxxxx> |
From: | Michael Neumann <mneumann@xxxxxxxx> |
Date: | Fri, 25 Jul 2008 13:17:57 +0200 |
Michael Neumann schrieb:The first argument to "hammer snapshot" takes a template similar to strftime(3), so you can generate snapshots with:
hammer snapshot /mnt/snaphots/SNAP-%Y-%M-%H
Which would generate a symlink
/mnt/snapshots/SNAP-2008-08-25
It would be handy if the template could be applied in the directory names as well, e.g. 'hammer snapshot /mnt/snapshots/%Y/%m/%d/%H%M'.