tAdded a few options and fixed things - scripts - various script and utils
 (HTM) git clone git://z3bra.org/scripts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit 8bb909ba0498c0f0178b59d05961750c0a5fcbf3
 (DIR) parent ceeaf811397f91c0707117f389deb4e9cf755e02
 (HTM) Author: Willy Goiffon <w.goiffon@gmail.com>
       Date:   Tue, 24 Sep 2013 13:08:04 +0200
       
       Added a few options and fixed things
       
       Diffstat:
         M instagram                           |      11 +++++++----
       
       1 file changed, 7 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/instagram b/instagram
       t@@ -1,15 +1,18 @@
        #!/bin/bash
        
        IMAGE_DIR=~/usr/img
       -SSHOT_DIR=$(IMAGE_DIR)/wm
       +UPLOAD_BIN=~/bin/upload
       +SSHOT_DIR=${IMAGE_DIR}/wm
        
        function usage() {
            cat <<SHBLAH
       -Usage : instagram [-tmh] [-g time] [-s screen] [filename.png]
       +Usage : instagram [-tmuh] [-g number] [-s screen] [filename.png]
            -t          : create thumbnail
            -m          : create one shot per head
       +    -u          : upload the file using $UPLOAD_BIN <filename>
            -h          : display this help
       -    -g time     : create a gif during <time> seconds
       +    -d path     : save the shot in <path>
       +    -g number   : create a gif out of <number> shot (0.5 second between shots)
            -s screen   : use only the screen number <screen> for the shot
        
        Remember to add an extension at the end of the command
       t@@ -65,7 +68,7 @@ else
        fi
        
        if [[ "$UPLOAD" = "1" ]]; then
       -    cd ${IMAGE_DIR)r}
       +    cd ${IMAGE_DIR}
            upload wm/${OUTPUT}
        fi