Giter Club home page Giter Club logo

airdrop-cli's Introduction

airdrop-cli

A command-line tool that allows you to share files and URLs with Apple devices using AirDrop from your terminal.

Prerequisities

  • Xcode
  • Xcode Command Line Tools

Installation

airdrop-cli is available for install with Homebrew

brew install vldmrkl/formulae/airdrop-cli

or

brew tap vldmrkl/formulae
brew install airdrop-cli

Building from source

Before attempting to build this project from its source code, make sure that you have Xcode version 11.4 (or higher) & GNU make installed.

Then, clone the project and use the Makefile

git clone https://github.com/vldmrkl/airdrop-cli.git
cd airdrop-cli
make
sudo make install

By default, make will build and install the project within /usr/local/bin. This project location can be changed by appending a new prefix to the PREFIX variable.

make PREFIX="YOUR_PREFIX_HERE"

You can append other Swift flags, in case you may need them for your specific build, to the FLAGS variable.

Usage

airdrop-cli-demo

To airdrop files, run:

airdrop /path/to/your/file

You can also airdrop URLs:

airdrop https://apple.com/

You can pass as many paths as you want. As long as theese file URLs are correct, the command will work.

airdrop-cli's People

Contributors

343max avatar iddodo avatar lowip avatar therealketo avatar vldmrkl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.