#!/bin/sh cd ~/multimedia/screenshots xwd -root | convert xwd:- png:- > `date +%H-%M.%S_scrn.png`