jgoerzen / simplesnap

A simple and powerful way to send ZFS snapshots across a network
GNU General Public License v3.0
49 stars 15 forks source link

Add MacOS compatibility to simplesnapwrap #23

Open tomhoover opened 5 years ago

tomhoover commented 5 years ago
  1. Revised INSTALL.txt to include MacOS prerequisites.
  2. Revised PATH on MacOS, as the following Homebrew-installed commands are found in /usr/local/bin:
    • zfs, as installed by 'brew cask install openzfs'
    • gdate & ghead, as installed by 'brew install coreutils'
    • ggrep, as installed by 'brew install grep'
    • gsed, as installed by 'brew install gnu-sed'
  3. Revised script to use ghead, if available.
  4. Added POSIX compatible program validation, using 'command -v'.
  5. Corrected misc spelling errors.

Closes #22

tomhoover commented 5 years ago

Please note that I based this pull request on your commit 0337dda, as commit 88afbf3, Initial work to support bookmarks contains errors.