Importer is a lightweight command-line tool written in Go that allows you to securely import media files and SQL dumps from a remote server via SSH.
Platform-specific binaries are available in the Releases section.
| Filename | OS | Architecture | Download |
|---|---|---|---|
importer-darwin-amd64 |
macOS | Intel (x86_64) | ⬇️ Download |
importer-darwin-arm64 |
macOS | Apple Silicon | ⬇️ Download |
importer-linux-amd64 |
Linux | Intel/AMD | ⬇️ Download |
Run the tool using the following syntax:
./importer [media|sql|both] [server IP address] [SSH port (optional, default: 22)]
media – Copies media files (in an archive format) from the remote server to the local machine.
sql – Creates a SQL dump on the remote server and downloads it to the local machine.
both – Downloads both media files and a SQL dump.
./importer both 192.168.1.100
This will use SSH to connect to 192.168.1.100 (on port 22) and download both media and SQL files.
You can authenticate using:
Password – You'll be prompted to enter the password when connecting.
SSH key – If no password is provided, the app will try to use your default key at ~/.ssh/id_rsa.
Go to the Releases page and download the correct binary for your system.
After downloading, run the following command in your terminal:
chmod +x importer-<your-platform>
Replace <your-platform> with the name of the file you downloaded (e.g., importer-darwin-arm64).
Use ./importer- from the terminal, or optionally rename it:
mv importer-<your-platform> importer
./importer media 192.168.1.100
- "Permission denied" error – Make sure the file is executable by running:
chmod +x importer-<your-platform>
- "Unidentified developer" warning – macOS may block the app. To allow it:
- Go to System Preferences → Security & Privacy → General.
- Click "Allow Anyway" after attempting to run the binary.
- "Architecture mismatch" – Apple Silicon users should download the
arm64version. Intel Macs need theamd64version.
This project is licensed under the MIT License.
You are free to use, modify, and distribute it with attribution.