Skip to content
ciaranPublic

About

A command-line tool for OS X to start a mouse drag for a given file

Resources

Stars

15 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

What is it?

This is a tool to start a drag session for a file from the terminal. I found I was often running open . from within a terminal just so I could drag a file to an application, so this was to avoid that.

Building

Compile it with

g++ drag.mm -framework Cocoa -o drag

Then you can move or symlink it to somewhere in your PATH.

Usage

Just run:

drag «file»

You can use tildes and relative paths.

About

A command-line tool for OS X to start a mouse drag for a given file

Resources

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages