Sometimes I need to calculate a total disk usage of files older than a specified interval (days, months, years).
Here is a 1 liner to do that:
find . -type f -mtime +7 -print0 | du -hc --files0-from - | tail -n 1
Detailed info ?
Use
If you are in a search for an email archiving solution, MailPiler is a recommend solutions.
If you didn't heard about MailPiler, check out the comparison with MailAr ...
If your system setup is based on nscd with libnss-mysql and you have setup a cron job for a database user, it might be possible to get this error in your syslog after ...
Adding a domain to Office 365 requires adding some DNS records.
The details are explained here Cre ...
Ever wanted to delete all messages from Postfix queue by sender email address and recipient domain ?
Today, I did ... and below you can find a handful script for this purpose.
Tools needed: grep, awk, mailq and postsuper.
In a hu ...
The problem: There are some updates on client files, but the traffic and disk usage changes are not reflected in Plesk interface.
Why: Plesk counts statistics once a day (at
4:07 AM by default) with the help of the
{Plesk_installation_dir}/admin/sb ...