Operations 5 min read

Boost Your DevOps Efficiency with trzsz: Fast Terminal File Transfers

This guide introduces trzsz, an open‑source terminal file‑transfer tool that integrates seamlessly with popular shells and terminals, supports upload, download, and batch operations across Linux, macOS, and Windows, and includes a high‑speed trzsz‑ssh extension for efficient SSH workflows.

Efficient Ops
Efficient Ops
Efficient Ops
Boost Your DevOps Efficiency with trzsz: Fast Terminal File Transfers
Image
Image

In daily operations, transferring files between local and remote servers can be tedious. Traditional tools like

scp

and

rsync

are powerful but not convenient in an interactive terminal. trzsz is an open‑source file‑transfer utility that complements lrzsz and works with tmux.

Why Choose trzsz

Seamless terminal integration

Supports many terminal emulators such as iTerm2, Tabby, Electerm.

Runs directly inside the terminal without opening extra windows.

Multiple transfer modes

Upload (local → remote) and download (remote → local) support.

Batch transfer of multiple files or directories.

Simple to use

Commands similar to rz/sz lower the learning curve.

Progress bar shows real‑time transfer status.

Cross‑platform

Available on Linux, macOS and Windows.

Compatible with various shells (bash, zsh, fish).

Quick Start

Upload a file to a remote server

While connected via SSH, run:

<code>$ trz /tmp/</code>

Download a log file from the server

<code>$ tsz /var/log/app.log</code>

Batch transfer directories

<code>$ trz -r /path/to/local/folder</code>
<code>$ tsz -r /path/to/remote/folder</code>

Installation

Install trzsz

<code># Use pip</code>
<code>pip install trzsz</code>
<code># Or download the binary</code>
<code>curl -fsSL https://trzsz.github.io/install.sh | bash</code>

Configure your terminal

Ensure your terminal supports the trzsz protocol; common terminals like iTerm2 and Tabby have built‑in support.

trzsz‑ssh

trzsz‑ssh is an extension optimized for SSH connections, allowing direct use of trzsz during an SSH session without extra steps. It can reach transfer speeds up to 80 MB/s, dramatically improving operational efficiency.

Overall, trzsz simplifies terminal file transfers, offering fast upload, download, and batch operations, especially when combined with trzsz‑ssh, making it a valuable tool for DevOps engineers.

automationoperationsSSHfile transfertrzszterminal tools
Efficient Ops
Written by

Efficient Ops

This public account is maintained by Xiaotianguo and friends, regularly publishing widely-read original technical articles. We focus on operations transformation and accompany you throughout your operations career, growing together happily.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.