2 ms·
Just added the following to the crontab on my laptop so when it boots up, it emails me about any zero byte files. # Look for zero byte files in Dropbox MAI
by mike-cardwell 14y ago
Just added the following to the crontab on my laptop so when it boots up, it emails me about any zero byte files.
# Look for zero byte files in Dropbox
MAILTO=my.email.address@example.com
@reboot /usr/bin/find ~/Dropbox/ -type f -size 0
I also have full system backups going back three months, with two hourly incremental backups for the last two. So if I get an email about any zero byte files, I should be fine restoring them from my own backups.