Installing CLI version on OS X.

I’m trying to figure out how to install the CLI version on my MacBook. I downloaded the script, and I realize you can run the script from a terminal window using ./Duplicacy… , but I’m wondering if this is the best way to handle it. Also, where is the configuration information stored. I’m not seeing any kind of .Duplicacy folder in my home folder.

Thanks for the assistance.

You can save the duplicacy executable (duplicacy_osx_x64_2.0.7) to any directory included in the environment variable $PATH and maybe rename it to duplicacy, then you can run it anywhere without providing the ./:

duplicacy init test storage_url
duplicacy backup

The .duplicacy folder will be created under the repository directory once you run the init command.

I put it in /usr/local/bin knowing that was already on my $PATH

The simplest thing is to copy the binary (it’s not a script) straight there and set its permissions:
sudo mv duplicacy_osx_x64_2.0.7 /usr/local/bin/duplicacy
sudo chown root:wheel /usr/local/bin/duplicacy
sudo chmod 755 /usr/local/bin/duplicacy

This assumes you’re running duplicacy as root to overcome any permissions problems during backup.

Thanks. Is it recommended to run duplicacy as root?

I think it should be fine for the backup command, which mostly will just read files.