dynpipe logo

Direct P2P file and text transfer

How to Transfer Files from Terminal to Terminal

For sysadmins, DevOps engineers, and power users, the command line is home. But when it comes to moving files or piping raw data streams from one machine's terminal to another, things usually get complicated.

Why SCP, rsync, and FTP aren't always enough

Traditional tools like scp and rsync are incredibly powerful, but they share a common flaw: they require SSH access, known IP addresses, and open firewall ports. If you need to send a log file to a colleague working remotely behind a strict corporate NAT, scp simply won't work without a VPN.

FTP and SFTP servers require setup, maintenance, and user management.

Enter dynpipe: The Ultimate CLI Transfer Tool

dynpipe was built from the ground up to solve the terminal-to-terminal transfer problem. By leveraging WebRTC, dynpipe establishes a secure, encrypted tunnel between two terminals—even if they are on completely different networks, behind different firewalls, and NATs.

1. Basic File Transfer

Sending a file is as simple as running a command. The tool will output a temporary code.

$ dynpipe send database.sql
Code: apple4582sun

On the receiving machine (which could be a Linux server, a Mac, or a Windows PC using PowerShell), just run:

$ dynpipe receive apple4582sun

2. The Magic of Unix Piping (stdin/stdout)

Because dynpipe respects standard Unix conventions, you can pipe the output of any command directly into it. It behaves exactly like a traditional pipe (|), but across the internet.

Example: Archiving and streaming a directory on the fly

# Sender (Compresses the log folder and streams it over the network)
$ tar -czf - /var/log | dynpipe
# Receiver (Receives the stream and saves it to a file)
$ dynpipe receive CODE > server_logs.tar.gz

Example: Streaming a database dump securely

$ mysqldump -u root -p my_database | dynpipe

Secure, Fast, and Cross-Platform

Every transfer is encrypted using DTLS and SRTP. The data never rests on a server; it flows directly from your terminal to the recipient's terminal.

Whether you are on Linux, macOS, or Windows, dynpipe gives you the power to bridge your command lines effortlessly.

Download the CLI Tool