/umac

⚡️🍎🐢 Terminal utilities for MacOS: install apps, force close apps, clear cache, add desk notifications, change shell, etc.

Primary LanguageShellOtherNOASSERTION

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