Note to myself.
I found that my /var/amavis/tmp has thousends of files.
du -sg tmp/
26 tmp/
Actually 26Gb of crap. Now, how to delete all files excluding these with current date and one day before?
Here is one line magic spell:
find /var/amavis/tmp -type f -mtime +1 -exec rm -f {} \;
Results?
du -sm tmp/
9 tmp/
Bingo! ;)
Thx to aniou #netbsd.pl
VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]

Popularity: 46% [?]
Przeczytany 89537 razy przez 337 osób
Podobne posty
- Maj 27, 2011 -- tmux FTW! (0)
- Kwiecień 27, 2011 -- 9 miesięcy debugowania ! (2)
- Listopad 10, 2010 -- Zdalna konsola, instalacja NetBSD i kreatywne lenistwo (0)
- Kwiecień 29, 2010 -- Wykres temperatury serwera w RRD (NetBSD) (0)
- Marzec 15, 2010 -- Acer Aspire One i szyfrowanie AES w WPA2 (2)
- Marzec 12, 2010 -- Mam Internet! (7)
- Marzec 4, 2010 -- mor(r)e .pl developers in NetBSD! (1)
- Styczeń 12, 2010 -- SNMP prawde Ci powie. (0)
- Październik 14, 2009 -- Update Baculi (1)
- Sierpień 31, 2009 -- BlogDay (1)
No comments so far. Share your thoughts!