Speed up AirDrop transfers

Published on — Filed under protip

AirDrop is a weird beast. The other day I was trying to transfer a 2GB file between two computers and it was taking forever — ~300KB/s.

A quick Google search pointed me in the direction of disconnecting from the current wireless network.

Yeah, good luck with that...

Being forced to go to network preferences' advanced pane and delete my home network every time I want to make a transfer would be just about as cool as this car.

Airport command line tool to the rescue!

Begin by linking it to a less shady location:

$ ln -s \
/System/Library/PrivateFrameworks/Apple80211.framework\
/Versions/Current/Resources/airport \
/usr/local/bin/airport

Then, disconnect from the current network:

$ sudo airport -z

And boom, constant 10MB/s.