[ubuntu-it] Creazione script di compressione

Max maxter a email.it
Lun 19 Mar 2007 14:03:08 GMT


Andrea Rommel ha scritto:
> non conoscevo logrotate, ma funziona anche per le cartelle del quale non
> conosco il nome completo ma solo una parte?

da 'man logrotate'

Note that log file names may be enclosed in quotes (and that quotes are
required if the  name  contains spaces).  Normal shell quoting rules
apply, with ’, ", and \ characters supported.
---cut
Please  use  wildcards  with caution.  If you specify *, logrotate will
rotate all files, including previously rotated ones.  A way around this
is  to  use  the  olddir  directive  or  a more exact wildcard (such as
*.log).

ciao

Max




Maggiori informazioni sulla lista ubuntu-it