#!/bin/bash

rm -f *.pdf
convert a.svg a.pdf
cp a.pdf b.pdf
sleep 1 # just to make sure
convert a.svg a.pdf
echo "Notice that a.pdf and b.pdf are swapped in status bar"
read -p "Now press any key to delete b.pdf, Thunar should now crash"
rm -f b.pdf # also crashes if delete a.pdf
