Created
May 20, 2019 06:46
-
-
Save whimsyniche/b897cd64dc06ea38f58289401a0e3f02 to your computer and use it in GitHub Desktop.
CLI commands - Advanced macOS Tricks and Utilities Using Terminal! from YouTube Snazzy Labs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
credits & twitter: Quinn Nelson @SnazzyQ | |
youtube video: https://www.youtube.com/watch?v=Ym2pxzWpTNw | |
pastebin: https://pastebin.com/jV9XzPrs | |
**PRELIMINARY** | |
// Install Xcode Tools: xcode-select —install | |
// Install Homebrew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
**CASK** | |
//Install Cask brew install cask | |
List apps: brew search --casks | |
Search apps: brew search (discord) | |
Install: brew cask install (discord) | |
Update: brew cask upgrade | |
Help: brew cask help | |
**HTOP** | |
//Install htop: brew install htop | |
Run: sudo htop | |
**SPEEDTEST** | |
//Install Speedtest brew install speedtest-cli | |
Run: speedtest-cli | |
**YOUTUBE-DL** | |
//Install youtube-dl: brew install youtube-dl | |
//Install ffmpeg: brew install youtube-dl ffmpeg | |
Download highest-res vid: youtube-dl -f bestvideo+bestaudio ‘link’ | |
Help: youtube-dl --help | |
**IMAGEMAGICK** | |
//Install ImageMagick: brew install imagemagick | |
Add border (sample): convert testing.png -border 1x1 -bordercolor black result.png | |
Resize (sample): convert testing.png -resize 1920 (or x1080) example.png | |
Add effect (sample): convert testing.png -charcoal 2 example.png | |
Change multiple (sample): for file in *.png; do convert $file -resize 1920 small-$file; done | |
Help: convert help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for posting this! The other most helpful shortcut for
youtube-dl
I would say is to view all the formats available and download by number. Here's how that works.to view all options
youtube-dl -F
link
then, when you identify the version you want by number (
NN
)youtube-dl -f -NN
link