Skip to content

Instantly share code, notes, and snippets.

@bhankas
Last active April 18, 2021 15:53
Show Gist options
  • Save bhankas/022961e0053e6fa2c8c3858d34fef5ce to your computer and use it in GitHub Desktop.
Save bhankas/022961e0053e6fa2c8c3858d34fef5ce to your computer and use it in GitHub Desktop.
Quick and dirty shell scripts and aliases
# recursively find all unique file extension with count
fd --no-ignore | rg "\.[^./]*\$" -o | sort -h | uniq -c | sort -k1 -h
# Split FLACs with accompanying cue file and cuetools
# nix-shell ---> nix-shell -p cuetools shntool
cuebreakpoints file.cue | shnsplit -o flac song.flac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment