Linux command
portal 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Send files
portal send [file1] [file2] [folder1]
Receive files using the password
portal receive [1-inertia-elliptical-celestial]
Run a relay server on a custom port
portal serve --port [1337]
说明
portal is a command-line file transfer utility for sending files between any two computers using temporary passwords. It uses PAKE2 for end-to-end encryption and parallel gzip compression. Portal attempts a direct peer-to-peer connection first, falling back to routing through a relay server when needed.
参数
- send _FILES_...
- Send files or directories to another computer.
- receive _PASSWORD_
- Receive files using the temporary password displayed by the sender.
- serve
- Run a relay server.
- -r, --relay _ADDRESS_
- Specify a custom relay server address.
- -y, --yes
- Auto-overwrite existing files without prompting (receiver only).
FAQ
What is the portal command used for?
portal is a command-line file transfer utility for sending files between any two computers using temporary passwords. It uses PAKE2 for end-to-end encryption and parallel gzip compression. Portal attempts a direct peer-to-peer connection first, falling back to routing through a relay server when needed.
How do I run a basic portal example?
Run `portal send [file1] [file2] [folder1]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does send _FILES_... do in portal?
Send files or directories to another computer.