Dragging on the command line
December 23rd, 2015
Here’s drag
, a small utility to enable drag & drop for files you’ve browsed to in your terminal:
It’s useful for dragging files you’ve created on the command line into a web page to upload them - for example, adding the zip
files generated by carthage archive
to a Github release. The window will pop up directly under the cursor’s current location, so all that you need to do is click and drag.
Drag is available as a package, or from source. It’s written in Objective-C, so it’s not tied to a specific Xcode version.