It is possible to run ftpub
on a machine running macOS as follows:
- Open the Apple menu, select About This Mac, and take note of the model of the chip.
-
Select the Attachments button:
- If the chip is an Apple chip, download the version of
ftpub
ending withdarwin-arm64
. - If the chip is an Intel chip, download the version of
ftpub
ending withdarwin-amd64
.
- If the chip is an Apple chip, download the version of
-
Rename the downloaded file to
ftpub
. - In the terminal, go to the directory where
ftpub
is located using thecd
command. -
Run the following command to add the rights required to run the program:
chmod +x ftpub
-
Open the System Settings and go to Privacy & Security.
- Under Security, a message says: "ftpub" was blocked from use because it is not from an identified developer.
- Select Open Anyway.
-
Run the following command to display the help tool:
./ftpub --help
-
Move
ftpub
to the/usr/local/bin
directory.It is then possible to run
ftpub
from anywhere in the terminal without specifying the full path.