Hi,
Is it possible to use logadm to rotate all files inside a directory? I don't know the name of all of the files I want rotated, so I am not sure how to go about doing this.
Thanks.
afak it works only with files. But you can write a wrapper script which just runs a logadm on each file, you just need to grep -v for the .{0,1,2,3,4,5,...) Files
Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years in the domain of the OS, Backup and Storage
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.