Last active
November 26, 2018 17:34
-
-
Save andresaquino/7dfc197368d512c866e29c96848cd187 to your computer and use it in GitHub Desktop.
My shell favourite commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# $> brew info mpgtx | |
# mpgtx: stable 1.3.1 (bottled) | |
# Toolbox to manipulate MPEG files | |
# Up{date|grade} && cleanup | |
brew update && \ | |
brew upgrade && \ | |
brew cask upgrade && \ | |
brew cleanup | |
# Cut audio from mp3 using mpgsplit | |
mpgsplit <audio.mp3> [00:59:19-00:59:38] -o <video.mp3> | |
# Cut a multipage PDF file into multiple image files | |
gm convert -density 300 file.pdf +adjoin image_%03.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment