added more functionality to the code with a single video conversion option:
Ibulk 1.8.0: Converts all videos in /home/d3v11/Ibulk/input to
/home/d3v11/Ibulk/output for use on an Apple Ipod or Iphone. All
videos will be encoded inside an .mp4 container.
usage: ibulk [ -L or -H ] [ -I, -T, or -P ]
ibulk -S /home/d3v11/folder/video [ -L or -H ] [ -I, -T, or -P ]
ibulk [ -v, -c, or -h ]
-L Converts videos with H.264 encoding. This option may
create large videos and take significantly longer
to encode but with higher quality.
-H Converts videos with XviD encoding. This option sacrifices
some quality but makes smaller videos and takes less time
-S Converts a single video. If using this option you must use
the full path to the video. Aliases or variables in the
path cannot be used. See usage note above for details.
-T Converts videos with a 640x480 ratio. Best if viewing
video on a television via adaptor.
-I Converts videos with a 320x240 ratio. Best if viewing
video on an ipod.
-P Converts videos with a 480x320 ratio. Best if viewing
video on an iphone.
-r Repairs Ibulk directories and files if not found. Set this
flag initially when installing Ibulk as directed in the
included Read Me file.
-v Displays Ibulk's version number.
-c Display contact information.
-h Gives a brief summary of the program, its usage, and its