I have a Unix menu and, of course, one option is to shell to the OS. To do this I run the "ksh" command. When I do this it looses the "set -o vi" setting. Without it the backspace key does't work and I can't pop up past commands; its real irritating.
how can I shell to the OS and retain or...
yes, I know that can be done, but I only want files (there are subdirectries that I want to leave alone) and those older than 30 days. There may be other directies and file extensions.
I'm looking at something like
find .<mydir> -xdev -type f -mtime +30 -print | egrep $EXCLUDETEXT > filename...
I want to create a maintenance script to remove certain groups of files - like log files I want to keep. They may be in different directories.
Are there any existing scripts that I can use (there must be), or ideas?
I'm current looking at creating script that creates a list-file and processes...
I don't know if this matches your system but on a Unix AIX using SENDMAIL from an application process we have 2 steps in creating the attachement and mailing.
A.
create a email body & header as a text file, then add the attachement using the uuencode command as thus.
"uuencode attach_1...
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.