Tag Archives: files

Find more about your multimedia files

This is a nice trick to easily access information about your multimedia files. Install the mplayer package then add the following to your ~/.bashrc file: idmedia(){ mplayer -identify -frames 0 -ao null -vo null -vc dummy “$@” 2>/dev/null | grep ID_ } Now run it like idmedia file.mp3 (this tip was sent in by lockw3)

Set file timestamps from the Linux command line

Creating a file with a different timestamp could be required in your distant future. However, when and if you are required to make one, you can do it with touch -c -t 0811141443 filename Let’s break down the numbers: 0811141443 = YYMMDDHHMM = 2008, November the 14th, 14:43