bash-script

Repo to stock all my bash scripts that I make as I learn how properly to use bash scripts.

Installation

To make the scripts executable run this command: chmod a+x <filename>.

To make it executable from anywhere run this command (on Apple Silicon):

sudo ln -s <path_to_original> </usr/local/bin/name_of_the_script>.

youtubeUrlTitleParse

Script to output a list of youtube video with their titles from a txt files full of youtube links.

removeChar

Removes character passed in parameter for all files titles in the current directory.

pfind

Search for words in a PDF with pdfgrep by indicating the number of words that can separate the two words.

Usage: pfind <separator_count> <words>

hs

Script to connect my different bluetooth headphones from the terminal with blueutil.

Usage: hs -<c|d><s|n>