Open

Open In Terminal ( MacOS ) open ~/Desktop/filename.mp4 open -a “QuickTime Player” ~/Desktop/filename.mp4 Explanation open is the command -a means application Third argument is the program you wish to open your designated file with Fourth argument is the file path to the file you wish to open Result Your file opening.

Grep

Source https://phoenixnap.com/kb/grep-command-linux-unix-examples Terminal ( MacOS ) grep “png” 2022/01/* grep “head” ./* Explanation “Grep is an acronym that stands for Global Regular Expression Print. Grep is a Linux / Unix command-line tool used to search for a string of characters in a specified file. The text search pattern is called a regular expression. When it…

Zip

Zip In Terminal ( MacOS ) zip -r myfiles.zip mydirectory Explanation zip is the command -r means recursive Third argument is your custom-named zip file Fourth argument is the directory and/or files you want zipped Other Arguments The dot “.” symbol refers to the directory you are currently in The asterisk/star “*” symbol means all/everything…

Batch Rename

Source 6 Clever Ways To Use The Windows Command Prompt Command Prompt ( Windows ) rename *.* ??????-original.* Explanation “Here’s a breakdown of that command: rename tells the system to rename the files you’re about to narrow down. *.* means “any file in this folder.” You could adjust this to say IMG*.* to limit it…