I sometimes want to find the files that have been modified by my last user action. I found a cool way of doing this. I picked it up somewhere – but I have already forgotten where …

Anyway – when I want to monitor what’s being done – I create a reference file:

$ touch /tmp/now

Then do the user action – and check for files being modified with:

$ find . -nwer /tmp/now > dump