Post your Bash aliases

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Brujah
    Beer Money Baron
    • Jan 2001
    • 22157

    #1

    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'
  • Killswitch - BANNED FOR LIFE

    #2
    For some reason I thought you meant bash.org

    Comment

    • fris
      Too lazy to set a custom title
      • Aug 2002
      • 55679

      #3
      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'
      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

      Comment

      • Davy
        Confirmed User
        • Apr 2006
        • 4323

        #4
        Looks cool.
        ---
        ICQ 14-76-98 <-- I don't use this at all

        Comment

        Working...