Hello and a big thank you to everyone that has helped me in the previous posts. I am looking for a little more assistance now. I am running a simple script to find files named "core" once these files are found and written to a file, I would like to remove the core files. The only thing I have is the following.
same code from previous post
The thing is, I need these files documented so I am appeneding the output to "list0" once it is documented, I would like to remove the files.
note: The reason why I have the weekly.txt files is because I am ftp'ing to the server from an NT box and saving everything as a log file and it is easier for the "Windows" people to recognize a .txt file
Code:
#!bin/bash
echo --- Todays Date is --- > weekly.txt
date >> weekly.txt
find / -name core >> weekly.txt
voldisk list >> weekly.txt
volprint -A >> weekly.txt
The thing is, I need these files documented so I am appeneding the output to "list0" once it is documented, I would like to remove the files.
note: The reason why I have the weekly.txt files is because I am ftp'ing to the server from an NT box and saving everything as a log file and it is easier for the "Windows" people to recognize a .txt file