z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Removing unnecessary files from directories

z/OS UNIX System Services Planning
GA32-0884-00

You can use the skulker shell script to remove files whose access times are older than a specified number of days from any directory. It can be run manually or invoked automatically using cron.

The skulker shell script, which is located in /samples, should be copied. You can modify it to suit your particular needs. Possible locations for the script include /bin or /usr/sbin, especially if skulker is to be run from a UID(0) program. If skulker is to be run by users, a locally created directory called, /usr/bin is a possibility, but ensure that the sticky bit is on in that directory.

For more information about skulker, see z/OS UNIX System Services Command Reference.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014