#! /bin/bash set -e set -x rm -fr /tmp/x mkdir /tmp/x # # 'x' # mkdir -p /tmp/x/{1,2} touch /tmp/x/1/{x1,x2} /tmp/x/2/{y1,y2} /tmp/x/{z1,z2} systemd-tmpfiles --clean - <