Egnyte CLI client for Linux with sync and FUSE mount
Project description
Egnyte CLI for Linux
Professional command-line client for Egnyte on Linux with OAuth authentication, sync, and optional FUSE mounting.
Features
- OAuth2 authentication (Authorization Code and Resource Owner Password for internal apps)
- Bidirectional sync engine with conflict policies
- CLI for upload, download, list, and status
- Optional FUSE filesystem mount
- Rate-limited API client with retry/backoff
Quick Start
# 1) Install (recommended)
pipx install egnyte-cli
# 2) Configure
egnyte-cli config set domain YOUR_DOMAIN
egnyte-cli config set client_id YOUR_CLIENT_ID
egnyte-cli config set client_secret YOUR_CLIENT_SECRET
# 3) Authenticate
egnyte-cli auth login
# Example commands
egnyte-cli ls /Shared/
egnyte-cli upload ./file.txt /Shared/Documents/
Installation
System requirements
- Python 3.8+
- Linux (Ubuntu/Debian tested)
Recommended install (no virtualenv)
python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx install egnyte-cli
Alternative (pip)
python3 -m pip install --user egnyte-cli
Optional system dependencies
FUSE mount support (optional):
sudo apt-get update
sudo apt-get install -y fuse libfuse-dev
Keyring backend (recommended for storing tokens and secrets securely):
sudo apt-get install -y gnome-keyring libsecret-1-0
Authentication
Authorization Code (default)
egnyte-cli auth login
If your redirect URI is HTTPS localhost, you may see a certificate warning on callback. For alternatives, see docs/oauth-setup.md.
Resource Owner Password (internal apps only)
egnyte-cli auth login --password-flow --username USERNAME
This flow is supported only for internal application keys, as per Egnyte documentation.
Usage
# Sync paths
egnyte-cli sync add /local/path /Shared/Folder
egnyte-cli sync list
egnyte-cli sync now
# File operations
egnyte-cli ls /Shared/
egnyte-cli upload ./file.txt /Shared/Documents/
egnyte-cli download /Shared/Documents/file.txt ./file.txt
# Status
egnyte-cli auth status
egnyte-cli status
Configuration
Configuration and tokens are stored under:
~/.config/egnyte-desktop/
Documentation
- OAuth setup: docs/oauth-setup.md
- Development setup: docs/development.md
Security
Security-related information and reporting instructions are in SECURITY.md.
Contributing
See CONTRIBUTING.md for guidelines.
License
MIT. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file egnyte_cli-1.0.0.tar.gz.
File metadata
- Download URL: egnyte_cli-1.0.0.tar.gz
- Upload date:
- Size: 30.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc9283e0516c6ddcbb8a1ee91dcc0a5970ead9f2baf7c6d4278eef65997472e0
|
|
| MD5 |
c8e363f667ac0bb3aa27dce24ecf5265
|
|
| BLAKE2b-256 |
73c5a1b4bc67bd5805175d1d7831c62d04ba50e3681cbdf4714b9a89a513ca2f
|
File details
Details for the file egnyte_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: egnyte_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 31.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99f0caf6b7929887a5e4daab3d224e7bffca83793f9abad594f46c8c0614f4b4
|
|
| MD5 |
3707129c26ac3300ce669adc5708b90c
|
|
| BLAKE2b-256 |
263cb0170be05b66e273300884737b8960f25093fa87f81d6c8a2c47d3ee3439
|