![]() |
Post your Bash aliases
Anything really useful? I'll post 2 that I've used for specific purposes
alias optimize='/usr/bin/mogrify -thumbnail 600x -quality 70 ' alias lhead='ls -lSth | head' |
For some reason I thought you meant bash.org
|
Code:
alias medialength='find -type f -name "*.avi" -print0 | xargs -0 mplayer -vo dummy -ao dummy -identify 2>/dev/null | perl -nle '/ID_LENGTH=([0-9\.]+)/ && ($t +=$1) && printf "%02d:%02d:%02d\n",$t/3600,$t/60%60,$t%60' | tail -n 1' |
Looks cool.
|
All times are GMT -7. The time now is 02:49 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123