Create export-video-list
script
Create a `export-video-list` script that exports all the video files on my external hard drive to a JSON file so I can easily see what videos I have without needing to get and plug in the drive. I can easily view it using `bat` or `jq` and combine it with `grep` to search for a specific video - e.g. `cat ~/video.json | grep -i nix` (`-i` makes the search case-insensitive).
This commit is contained in:
parent
13c83fb8b4
commit
ce5b4fa0a1
3 changed files with 40 additions and 0 deletions
|
@ -5,6 +5,9 @@ abbr daily="run create-daily next"
|
|||
abbr switch="run nixos nixedo switch"
|
||||
abbr sz="source ~/.config/zsh/.zshrc"
|
||||
|
||||
abbr evl="export-video-list"
|
||||
abbr vv="cat ~/Documents/videos.json"
|
||||
|
||||
abbr g="git"
|
||||
abbr ga="git add"
|
||||
abbr gap="git add -p"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue