Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alex
zfs-auto-snapshot
Commits
86a95095
Unverified
Commit
86a95095
authored
Sep 25, 2019
by
Jonathan Carter
Committed by
GitHub
Sep 25, 2019
Browse files
Add note about macos compatibility
parent
363a847e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/zfs-auto-snapshot.sh
View file @
86a95095
...
...
@@ -584,6 +584,7 @@ SNAPPROP="-o com.sun:auto-snapshot-desc='$opt_event'"
# ISO style date; fifteen characters: YYYY-MM-DD-HHMM
# On Solaris %H%M expands to 12h34.
# We use the shortfirm -u here because --utc is not supported on macos.
DATE
=
$(
date
-u
+%F-%H%M
)
# The snapshot name after the @ symbol.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment