Command line gives the power to automate different processes over multiple files in reusable fashion.

Example usecases

  1. Resize images and create panels of images Image Manipulation
  2. Join, split or summarize tables/text files sed
  3. Convert video from one format to another, extract audio etc.ffmpeg
  4. Search for text in pdf files. papers-tools
  5. Download video and audio from youtube yt-dlp

Shutdown your pc after given time in seconds

open cmd using Windows key + R type cmd and enter following lin

shutdown -s -t 1800

This will shutdown the computer in 30 minutes

Running wsl installed utilities from gibash

The number of packages which could be installed through gitbash is limited.
To use all the packages available to ubuntu you can install them in wsl and then run them from the gitbash.

Run manually from gitbash

wsl pdfgrep -in YAP Zanconato_2015

This runs the pdfgrep installed in wsl.

Add alias to the utility you want to run

open ~/.bashrc add

alias pdfgrep="wsl pdfgrep"

Save ~/.bashrc and source ~/.bashrc