mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2025-08-20 17:11:00 +02:00
Add note about macos compatibility
This commit is contained in:
@@ -584,6 +584,7 @@ SNAPPROP="-o com.sun:auto-snapshot-desc='$opt_event'"
|
|||||||
|
|
||||||
# ISO style date; fifteen characters: YYYY-MM-DD-HHMM
|
# ISO style date; fifteen characters: YYYY-MM-DD-HHMM
|
||||||
# On Solaris %H%M expands to 12h34.
|
# 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)
|
DATE=$(date -u +%F-%H%M)
|
||||||
|
|
||||||
# The snapshot name after the @ symbol.
|
# The snapshot name after the @ symbol.
|
||||||
|
Reference in New Issue
Block a user