Linux command
wormhole 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Send a file
wormhole send [file]
Send a directory
wormhole send [directory/]
Send text
wormhole send --text "[message]"
Send with a custom code
wormhole send --code [custom-code] [file]
Receive a file
wormhole receive [code]
Receive and automatically accept
wormhole receive --accept-file [code]
Receive to specific output file
wormhole receive --output-file [filename] [code]
说明
Magic-Wormhole provides secure, simple file transfer between two computers. The sender generates a short, human-readable code that the receiver types to establish an encrypted connection. Security is based on SPAKE2+ password-authenticated key exchange, ensuring strong encryption from a simple code. Data transfers directly peer-to-peer when possible; otherwise, an encrypted relay tunnels the data. Neither servers see unencrypted content. Directories are automatically zipped for transfer and unzipped on receipt. Text messages can be sent for quick sharing of passwords or small data.
参数
- send
- Send a file, directory, or text message.
- receive
- Receive a file or text message.
- --text, -t
- Send a text message instead of file.
- --code _code_
- Use a specific wormhole code instead of generating one.
- -c, --code-length _n_
- Number of words in generated code.
- --verify
- Request receiver to verify data checksum.
- --accept-file
- Automatically accept incoming file (use with caution).
- --output-file _file_
- Save received data to specified filename.
- --relay-url _url_
- Use a custom rendezvous server.
- --hide-progress
- Don't show progress bar during transfer.
- --help
- Display help message.
- --version
- Display version information.
FAQ
What is the wormhole command used for?
Magic-Wormhole provides secure, simple file transfer between two computers. The sender generates a short, human-readable code that the receiver types to establish an encrypted connection. Security is based on SPAKE2+ password-authenticated key exchange, ensuring strong encryption from a simple code. Data transfers directly peer-to-peer when possible; otherwise, an encrypted relay tunnels the data. Neither servers see unencrypted content. Directories are automatically zipped for transfer and unzipped on receipt. Text messages can be sent for quick sharing of passwords or small data.
How do I run a basic wormhole example?
Run `wormhole send [file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does send do in wormhole?
Send a file, directory, or text message.