#!/bin/sh yesterday="$(date -d "yesterday 13:00" '+%Y-%m-%d')" touch -d "$yesterday" ~/.hidden-dir/.hidden-file