A command-line tool that allows you to share files and URLs with Apple devices using AirDrop from your terminal.
- macOS 10.12 or later
- Xcode Command Line Tools:
xcode-select --install
npm install -g airdrop-cli# Share a file
airdrop /path/to/file.txt
# Share a URL
airdrop https://apple.comCan send files from the terminal
airdrop https://apple.com
Usage: airdrop <file>
Arguments:
file URL or path to file to share via AirDrop
Options:
-h, --help Show help information
-V, --version Show version number
This project was inspired by vldmrkl/airdrop-cli.
MIT
