geoffreywiseman / prune

A simple utility for pruning files based on date as a means of keeping increasingly sparse backups.
http://geoffreywiseman.github.com/prune
The Unlicense
2 stars 0 forks source link

Log-Style Output #45

Open geoffreywiseman opened 11 years ago

geoffreywiseman commented 11 years ago

For batch mode, it might be preferable to offer a log style of output:

Prune execution begins.
Removing file 'mysql-backup-2012-01-01.sql' (Older than two weeks).
Prune execution complete.

Not sure how much work this kind of output shift would be -- so deferring it for now, until I get a better sense of how the output looks in logs with quieter output.