Thursday, January 07, 2010

Magic line to create file in nest structure

mkdir -p `dirname parentFolder/childFolder/file.txt` && touch parentFolder/childFolder/file.txt

Finding video info from command line

sudo apt-get install libimage-exiftool-perl
exiftool *.mp4 *.mpg *avi *mov

http://ubuntuforums.org/showthread.php?t=474839