Finding the largest file in a directory and other cool Linux commands.

To find the largest file in a directory; use the du command and this will return the information you are after. Using the pipe symbol to send the text through to the head command will allow us to only return the one file we are interested in. jason@jason-desktop:~/Documents$ find . -type f -exec ls -al … Read more

How to get information about a video file with the Linux command line.

The Linux command line may be used to get information about a video file easily. Here is an example. Getting the video resolution with a simple command. jason@jason-desktop:~/Videos$ ffprobe -v quiet -print_format json -show_format -show_streams burnout-in-a-town-street.mp4 | grep coded "coded_width": 400, "coded_height": 224,jason@jason-desktop:~/Videos$ ffprobe -v quiet -print_format json -show_format -show_streams burnout-in-a-town-street.mp4 | grep coded "coded_width": … Read more