10 More Discussions You Might Find Interesting
1. AIX
Hi,
I am having 2 volume groups rootvg (Only for os),datavg(only for data) both are from san using different LUN.
out of these my rootvg was crashed though I have reinstalled os.
can you please suggest me now how datavg will be visible, wheather I have recreate VG?
Kindly suggest me. (5 Replies)
Discussion started by: manoj.solaris
5 Replies
2. Post Here to Contact Site Administrators and Moderators
Admin: I've had posted twice my last post Can you please delete it from the SCO forum=? thanks (1 Reply)
Discussion started by: funyotros
1 Replies
3. Shell Programming and Scripting
I saw many post about this but could not find a specific answer to this question.
i have the following code
find . -depth -name "$FILEEXT" -ctime -30 -exec rm {} \;
when i type ./deletefiles.sh *.txt for example, it will find all the txt files less than 30 days old and delete them.
my... (9 Replies)
Discussion started by: new2learn09
9 Replies
4. Shell Programming and Scripting
Ok, so I just got charged with the task of deleting some 300 user folders in a FTP server to free up some space. I managed to grep and cut the list of user folders to delete into a list of one user folder per line.
Example:
bob00
jane01
sue03
In the home folder, there are folders a-z, and... (5 Replies)
Discussion started by: b4sher
5 Replies
5. Shell Programming and Scripting
I've written a small static script for my log deletion, but I was wondering if there was a way to make it a dynamic script. here is how my script currently works.
#!/bin/sh
###########################################
#Script to zip logs older than 1 week old
#and to delete logs older than 30... (3 Replies)
Discussion started by: cbo0485
3 Replies
6. HP-UX
Hi,
I've mistakenly removed user id from HP Unix server.
I've removed using SAM
Now i need to resotre/recreat the removed user id (with same uid,group and username), How can i do that.
Thanks in Advance (3 Replies)
Discussion started by: msgobinathan
3 Replies
7. Solaris
Hi,
I have a folder with limited space. So i have to delete folder which are more than 5 days old automatically.
So my script should be like delete the folder more than 5 days old.
Can someone help me to generate a script for this.
Thank you...
Cheer
Summer (5 Replies)
Discussion started by: summerpeh
5 Replies
8. UNIX for Dummies Questions & Answers
find ./ -name t\* | sed "s@^./@@" > .filestobedeleted
j=$(wc -l < .filestobedeleted)
typeset -i cnt=0
typeset -i i=0
while read line
do
myarray=$line
((cnt = cnt + 1))
done < .filestobedeleted
while (1 Reply)
Discussion started by: aishu
1 Replies
9. Solaris
Hi,
I have a mail server with limited space and operating system is sun solaris 8 (sparc). I do not have provisions to increase the space for home directory.
So i have to delete files from /home/username/mail/trash which are more than 10 days old automatically.
So my script should be like... (1 Reply)
Discussion started by: crown2100bd
1 Replies
10. Shell Programming and Scripting
Hi,
I have a folder with limited space. I do not have provisions to increase the space for this folder.
So i have to delete files which are more than 1 month old automatically.
But, i need to maintain the files created by 4 users and delete all the other files automatically which is more than 1... (4 Replies)
Discussion started by: vivek_scv
4 Replies