1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/airshare.md
Moritz f108a86387
airshare: add page (#10282)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-05-28 16:40:36 +02:00

28 lines
732 B
Markdown

# airshare
> Transfer data between two machines in a local network.
> More information: <https://airshare.rtfd.io/en/latest/cli.html>.
- Share files or directories:
`airshare {{code}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
- Receive a file:
`airshare {{code}}`
- Host a receiving server (use this to be able to upload files using the web interface):
`airshare --upload {{code}}`
- Send files or directories to a receiving server:
`airshare --upload {{code}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}`
- Send files whose paths have been copied to the clipboard:
`airshare --file-path {{code}}`
- Receive a file and copy it to the clipboard:
`airshare --clip-receive {{code}}`