10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have a CentOS server that contains a 'storage' directory. Within that directory, there could be any number of subfolders (all with unique names that match usernames).
Under each username folder, there are two additional folders: db and files
/STORAGE/user1/db/... (3 Replies)
Discussion started by: JasonH
3 Replies
2. Shell Programming and Scripting
I need a log archival script which will delete files older than 3 days in a given JBOSS log directory which has files as follows
server.log.2011-08-25
server.log.2011-08-26
server.log.2011-08-27
server.log.2011-08-28
server.log
I only want to save server.log and 3 days before server.log... (1 Reply)
Discussion started by: gubbu
1 Replies
3. Shell Programming and Scripting
Hi ,
I am new to shell scripting.
I am using Linux for doing scripting.
Below is my script, which takes 2 parameters as input.
test.sh has the below:
#!/bin/bash
. $HOME/.profile
gpg --yes --no-use-agent -r "$(eval echo \$$2_Var)" -e $1
1st parameter is command line... (7 Replies)
Discussion started by: rangarb
7 Replies
4. Shell Programming and Scripting
Hello friends,
It will be great if we found some way to check this our:
we have some databases (teradata and oracle).
our applications(in java on weblogic) are using connection pools of these databases.
we have a pair of userID and password for every pool.
If we have any logic to test... (2 Replies)
Discussion started by: NIMISH AGARWAL
2 Replies
5. Shell Programming and Scripting
hi i have cancelled my previous post (2 Replies)
Discussion started by: choco4202002
2 Replies
6. HP-UX
Hi All,
How do I archive a script so that all the files are not sent when the script runs? Is the command ArchiveNx used. If yes then where is it added in the command line?
E.g.: /home/projects/ftpToShrDrive {USERID} ${PASSWORD} ${REMOTEHOST} ${LOCALDIR} ${NAMEOFFILE}
Here the ftpToShrDrive is... (1 Reply)
Discussion started by: indira
1 Replies
7. Shell Programming and Scripting
Hi All,
How do I archive a script so that all the files are not sent when the script runs? Is the command ArchiveNx used. If yes then where is it added in the command line?
E.g.: /home/projects/ftpToShrDrive {USERID} ${PASSWORD} ${REMOTEHOST} ${LOCALDIR} ${NAMEOFFILE}
Here the ftpToShrDrive is... (0 Replies)
Discussion started by: indira
0 Replies
8. Shell Programming and Scripting
Hi All,
Im trying to write a script to archive files based on the date the files were created.
For example, if a group of files were created on 23rd August,I would have 230806.tar. I have a problem,I want the script to read a separately created file(readarchive.txt) to look for the path to... (1 Reply)
Discussion started by: kayarsenal
1 Replies
9. Shell Programming and Scripting
Hi,
I need a help in deleting a line matching a particular pattern in a file using shell script without opening the file. The file is a .c/.cpp file. Is it possible?
Thanks (6 Replies)
Discussion started by: naan
6 Replies
10. Shell Programming and Scripting
is there a way to write a script and run with a cron job which archives all the *.log files into .tar.gz. :eek: (0 Replies)
Discussion started by: tintedwindow
0 Replies