GithubHelp home page GithubHelp logo

angelespejo / umac Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 3.73 MB

โšก๏ธ๐ŸŽ๐Ÿข Terminal utilities for MacOS: install apps, force close apps, clear cache, add desk notifications, change shell, etc.

License: Other

Shell 100.00%
shell apple applescript bash bin darwin macos terminal

umac's Introduction

Banner

๐ŸŽ๐Ÿข Terminal utilities for MacOS โšก๏ธ๐ŸŽ

What can we do with this tool?

Install apps, force close apps, clear cache, change terminal shell, add notifications, add workflows etc.

Gift

Index

๐Ÿ— Prerequesites

  • Have a system based on Darwin OS, that is, any apple computer. ๐ŸŽ

๐Ÿ”‘ Install

Copy this line in your terminal and run it.

git clone https://github.com/angelespejo/umac.git umac && chmod a+x umac/* && cd umac && ./install.sh 

โš™๏ธ Usage

umac [option/s] [--flags/s]

With umac you can do many different things. The idea could be to add more and more, who knows ๐Ÿ˜Ž

Here is a list of how to use umac

Apps

umac app [option] [--flags]

Install

Install apps using Homebrew. Don't worry if Homebrew is not installed on your system, in theory umac should do it for you automatically ๐Ÿ”ฎ

umac app install appName1 appName2

# or

umac app i appName1 appName2

Uninstall

Uninstall apps using Homebrew.

umac app uninstall appName1 appName2

# or

umac app u appName1 appName2

Search

Search apps using HomeBrew.

umac app search appName

# or

umac app s appName

Dev

Change or show status for no identificated apps.

Show status for no identificated apps

umac app dev

# or

umac app dev --status

Change status for no identificated apps

umac app dev --enable

# or 

umac app dev -e
umac app dev --disable

# or

umac app dev -d

Close

Force close apps from a list

umac app close

Force close all apps

umac app close=All

Force close specific apps

umac app close=app1,app2

Cache

Remove macOS cache from a list.

umac cache

Remove all macOS cache.

umac cache=All

Remove specific macOS cache.

umac cache=name1,name2 

Open macOS cache directory with Finder.

umac cache --open 

Open

Open path in Finder.

umac open your/path/to/open

Open path in Safari.

umac open your/path/to/open --safari 

Open path in Firefox.

umac open your/path/to/open --firefox 

Open path in Chrome.

umac open your/path/to/open --chrome 

Open path in Opera.

umac open your/path/to/open --opera 

Open path in Tor Browser.

umac open your/path/to/open --tor 

Desktop pictures

Change

Change Desktop image in desktop pictures directory.

umac desk pics change=your/image/path

Change Desktop images from a directory in system desktop

umac desk pics change=your/image/path --sys 

Add

To add Desktop image in desktop pictures directory.

umac desk pics add=your/image/path

To add Desktop images from a directory in desktop pictures directory

umac desk pics add=your/image/path --dir 

To add Desktop images from a directory in system desktop pictures directory.

umac desk pics add=your/image/path --sys 

Remove

Remove Desktop image from a Desktop image list

umac desk pics remove

Remove Desktop image in desktop pictures directory.

umac desk pics remove=imageNames

Notification

Returns true|false

Set a macOS notification with 2 buttons (true/false).

umac notification yourOwnTextString

# or

umac not yourOwnTextString

With custom buttons text

umac not yourText btn-false=yourText btn-true=yourText

Terminal

Change shell.

umac terminal shell change

# or

umac term shell change

# With a value

umac terminal shell change=shellName

# or

term shell change=shellName

List available shells.

umac terminal shell list

# or

umac term shell list

View current shell.

umac terminal shell curr

# or

umac term shell curr

Spotlight

To manage Spotlight.

umac spotlight

To enable Spotlight.

umac spotlight --enable

To disable Spotlight.

umac spotlight --disable

Help

Set software help.

umac --help

# or 

umac -h

Version

Set version.

umac --version

# or 

umac -v

โ˜• Donate

Help me to develop more interesting things.

Donate

๐Ÿ“œ License

The software is licensed with GPL-3.

Collaborators

Name Role GitHub
AngelEspejo Author @AngelEspejo

umac's People

Contributors

angelespejo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.