GithubHelp home page GithubHelp logo

kitak / tools-osx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from morgant/tools-osx

0.0 1.0 0.0 152 KB

A small collection of command line tools for Mac OS X, incl.: clipcat, dict, eject, ql, swuser, trash & with.

Home Page: http://www.makkintosshu.com/development#tools-osx

License: MIT License

Perl 16.62% Ruby 9.29% Shell 74.10%

tools-osx's Introduction

tools-osx README

by Morgan Aldridge [email protected]

OVERVIEW

A small collection of command line tools that I've developed for Mac OS X over the years, ร  la NextStep/Mac OS X's open, pbcopy, pbpaste, etc. These are mostly bash scripts as an exercise in honing my bash-fu, but a number of Perl & Ruby scripts have been submitted by others.

TOOLS

clipcat

clipcat prints and concatenates Mac OS Text Clippings. Submitted by David Kendal https://gist.github.com/705623.

dict

dict performs a look-up in Mac OS X's included dictionary. Note: unlike the other scripts provided, this one requires that you have MacRuby installed http://macruby.org/. Submitted by David Kendal.

eject

eject ejects a volume or network volume and all other volumes on the same local device. A shorter, simpler, smarter wrapper of diskutil's various eject/unmount options and allows specifying either a full path in /Volumes or just the volume name.

ql

ql opens files with Mac OS X's Quick Look feature.

swuser

swuser switches users using Mac OS X's Fast User Switching feature. You can either switch out to the login window or to another user. Note: unfortunately, this is not currently compatible with screen.

trash

trash allows trashing of files instead of tempting fate with rm. Correctly handles trashing files on other volumes, uses the same filename renaming scheme as Finder for duplicate file names, can list trash contents w/disk usage summary, and empty trash (including securely) w/confirmation. Does not require Finder to be running.

with

with sets the application with which specified documents will be opened. It can even change and open in one fell swoop. Submitted by David Kendal.

INSTALLATION

  1. Download and extract the tools.
  2. Run rake.
  3. Run sudo rake install. (If you have write permission on /usr/local/bin, you don't need to sudo.)

OTHER TOOLS

Looking for other Mac OS X-specific command line tools to complement these? Check out the following:

SPECIAL THANKS

Special thanks to: David Kendal for all his submissions and collaboration; Matt Brictson for his initial relative path bug fix in trash.

tools-osx's People

Contributors

morgant avatar dpk avatar mattbrictson avatar mikebz avatar

Watchers

James Cloos 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.