Search Results

Search: Posts Made By: slatoms
12,164
Posted By slatoms
I'm a she and a novice with the scripting, but...
I'm a she and a novice with the scripting, but I've been able to utilize it to create scripts that are helpful to me in managing my DB2's. It's mostly the type of stuff where I list the database...
12,164
Posted By slatoms
Dynamic case creation based on output list from a command
I am attempting to create a script that would allow me to list all the instances associated with a DB2 and then prompt the user to choose which one to issue the db2profile command against. I use...
Forum: Red Hat 06-13-2012
2,195
Posted By slatoms
Dynamic case creation based on output list from a command
I am attempting to create a script that would allow me to list all the instances associated with a DB2 and then prompt the user to choose which one to issue the db2profile command against. I use...
1,179
Posted By slatoms
Looking for improvement to script that compresses a directory that is 2 months old
I write reports daily to a directory that is named with the month and year. I wanted to compress all but the last two months worth of these directories to save space. I am going to cron a job to...
16,875
Posted By slatoms
My goal is to move all but about the current...
My goal is to move all but about the current month's worth of files so I ended up trying this...


for FILE in $( ls $instance_hpath/db2dump/db2diag*.log )
do
FMONTH=$( echo $FILE | awk -F...
16,875
Posted By slatoms
Okay.... Thank you...actually that's the...
Okay.... Thank you...actually that's the direction I going in, I just felt like maybe that was too much overhead to do that case compare with each file in the loop. I was thinking there might be a...
16,875
Posted By slatoms
Thank you. I'm going to play with this a little...
Thank you. I'm going to play with this a little and see if I get it tuned to what I need. The month-year (Apr-2010) folders that I am moving to already exist which is why I need to figure out from...
16,875
Posted By slatoms
Move files based on date in filename
I know this gets covered quite a bit in the forum and I think there is enough there for me to figure out how to do what I am trying to do, I just don't think I would do it very efficiently so I am...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 08:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy