Some bash scripts that I wrote and regularly use
test figlet banners:
OPTIONS:
-h Show This message
-m Message to display
EXAMPLE:
banner -m "FIGLET"
Batch convert video, sound, and image files.
Run inside directory of files to convert.
OPTIONS:
-h Show this message
-t type, can be [movie] [image] [audio]
-i input format ie [.flac] [.flv]
-o output format ie [.avi] [.mp3]
-v todo Verbose
EXAMPLE:
batchconvert -t movie -i .flv -o .avi
SINGLE TYPE FLAGS
-t html5
-t h264
-t ipad
EXAMPLE
batchconvert -t h264
Do some handy operations on file names like appending the date created or an index.
Applies operations to all files in current directory
Options:
-c, --current : prepend current date to files
-m, --modified : prepend last modified-date to files
-i, --index : prepend index
Example:
fileop -c
use wget to scrape mp3s from your favorite audio blogs.
mp3scrape
quickly show me my ip address, either internal or external.
Dispays either internal or external ip
default is external
Requires curl
OPTIONS:
-h Show this message
-i Show internal ip
-o Show external ip
EXAMPLE:
myip -i
Toggle the display of hidden files in Mac Os X.
thf