🤓 Utility bash scripts
Utility bash scripts to do automatable tasks with a single command. We have scripts to download youtube videos, download music from youtube, convert media files, etc.
Contribute and add your secret script.
📝 NOTES
Download scripts download to ~/Downloads/
folder. For videos, they download to ~/Downloads/Videos
and for audio, they download to ~/Downloads/Music
.
For best results, clone this git repo to a fixed location on your computer and add it to $PATH
.
cd ~
git clone https://github.com/aviaryan/utility-bash-scripts.git utility-scripts
cd utility-scripts
export PATH="$(pwd):$PATH"
📜 SCRIPTS
🔻 Download video from YouTube in MP4 format
Script: youtube-video
Dependencies: youtube-dl, ffmpeg, aria2c (optional)
youtube-video "https://www.youtube.com/watch?v=HgfojLtSBTM"
🔀 Merge video and audio together
Script: vamerge
Dependencies: ffmpeg
vamerge <path to video file> <path to audio file>
# the order is important, first video, then audio