arkv-1.0.1 is not a library.
arkv
A fast, no-frills file archiving tool that copies files to remote servers via SFTP.
Features
- 🚀 Fast SFTP transfers using SSH key or password authentication
- 📁 Supports both individual files and entire directories
- 📊 Real-time progress indicators with spinners and progress bars
- 🔧 Simple one-time setup
- 💾 Supports multiple remote destinations
Installation
Install from crates.io:
Or build from source:
The binary will be at target/release/arkv. You can copy it to your PATH:
Quick Start
First time setup:
This will guide you through:
- Locating your SSH key (default:
~/.ssh/id_ed25519) - Adding remote destinations (name, host, username, remote path, optional password)
Usage
Upload a file:
Upload a folder:
Choose destination interactively (when multiple destinations are configured):
Re-run setup:
Show help:
Configuration
Configuration is stored at ~/.config/arkv/config.toml
Example config:
= "/Users/username/.ssh/id_ed25519"
[[]]
= "production"
= "example.com"
= "deploy"
= "/var/www/uploads"
[[]]
= "backup"
= "192.168.1.100"
= "user"
= "/home/user/backups"
= "optional_password"
How It Works
- Connects to remote server via SSH (port 22)
- Uses SFTP protocol for file transfers
- Automatically creates remote directories if they don't exist
- Preserves folder structure when uploading directories
- Shows progress with spinners (single files) or progress bars (folders)
License
MIT