← 返回命令列表

Linux command

tailscale-file 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Send file to device

tailscale file cp [file] [device]:

Receive files

tailscale file get [directory]

List pending files

tailscale file get --wait=false .

说明

tailscale file transfers files between devices on your Tailscale network using the Taildrop feature. Files are sent directly from one device to another over encrypted WireGuard connections, without passing through cloud storage or third-party servers. The cp subcommand sends files to a target device, specified by its Tailscale hostname followed by a colon. The get subcommand receives pending files into a local directory. By default, the receiver waits for incoming transfers; the --wait=false flag lists pending files without blocking. Transfers work across platforms including Linux, macOS, Windows, iOS, and Android.

参数

cp _file_ _target_
Send file to device.
get _directory_
Receive pending files.
--wait
Wait for files.

FAQ

What is the tailscale-file command used for?

tailscale file transfers files between devices on your Tailscale network using the Taildrop feature. Files are sent directly from one device to another over encrypted WireGuard connections, without passing through cloud storage or third-party servers. The cp subcommand sends files to a target device, specified by its Tailscale hostname followed by a colon. The get subcommand receives pending files into a local directory. By default, the receiver waits for incoming transfers; the --wait=false flag lists pending files without blocking. Transfers work across platforms including Linux, macOS, Windows, iOS, and Android.

How do I run a basic tailscale-file example?

Run `tailscale file cp [file] [device]:` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does cp _file_ _target_ do in tailscale-file?

Send file to device.