|
||||||||
Hallo monideth.pen,
monideth dot pen at unitednetworks dot co dot uk schrieb am 22. October 2004:
>However, there is also the issue of how many of these backup files to
>keep, which will mean your script will be a bit more complicated.
One line, if you want to keep 14 days worth of configs:
find /your/directory/. -type f -iname '*.xml' -mtime 14 -exec rm {} \;
Regards Frederick |