Is there any one liner to convert hh:mm:ss to seconds. In other words 01:20:50 (1:20 AM and 50 seconds) to just seconds?
It seems really simple - however, I don't think the date command w...
I have a remote backup solution setup on client machine OSX 10.4.
It has an in built scheduler which should run the jobs every 1 hour but when the users put the macbook to sleep or shut the l...
Hi experts,
I want to pass parameters from command line to a script file 'my.sh', where i need to use the passed parameters inside the ssh command as mentioned in the code.
Please let me k...
Hi Guys i a absolute noobie when it comes to vb scripting. It is a complete new language to me. However i have a requirement to create a logon script. I have basically gotten the beginnings...
I have the following file sorted by the first column as the sort key :
111 found in platter 3297
111 found in platter 3322
1122 found in platter 3232
1129 found in platter 3297
1133 fou...
I get zipped files named
Blah_date.zip
i.e.
Blah_10052009.zip
I want to have a script to monitor a folder 24/7 and if there is a new file in it it will do somthing to it.
the move...
I have following files (with millions of lines) which is currently not sorted
by first column value & may have preceding space(s) in front :
113 found in platter 3222
127 found in platte...
Hi,
I have a text file and I need to split data into separate columns.
Ex columns:
First Middle Last Month Day Year Comments
Ex text:
Buffy Ruud 11-4-99
Rosco Berta 11-4-99 I wante...
Hi,
I have a listing of files in the following format (from MSDOS "dir" output):
03/15/2008 06:31 PM 25 100011.uuid
03/15/2008 06:31 PM 189,440 10001411.uuida...
Need a shell scp script to copy from IP1 location /home/jboss/ * to IP2 location /home/jboss/*.
And run it every 1 hour. I want to copy only the chnaged ones.....
I'm looking for some assistance with creating a WMI or powershell script to automatically compress files in two seperate folders on the same server to a compressed or zip file. The hard part ...
I have the following file which contain following lines :
432,343 104324.txt
32.432 3534.txt
323 3432243.txt
. . . . . .
where first column is a numbefr (could be hundred) or tho...
Hi All. I have a requirement to create a shell file. Can someone help please.
1. There is a file in a unix directory \filetmp\control.abc. This file contains file name contains as this:
1-...
Suppose i have a bunch of files in my directory. I want to grab the file with the latest date (for the time being I can't even get it to print the timestamp). I have written the command line b...
Hi,
I have two shell scripts:
/home/parent_path/1.sh
/home/child_path/2.sh
1.sh kicks off 2.sh with its full path:
sh /home/child_path/2.sh
Is there any way I can find out with...
Hi,
I have a file that has more than 9 million records/lines in it.
Some sample lines :
100007 314,368
100011 220,160
. . . millions of records later . . .
100014 189,440
100017 ...
i/p
1 test
19 man
o/p
1: test
19: man
I need a script or a program or something so i can verify some active directory user accounts to make sure i have the correct password. Any have any ideas?
To Verify an application is stopped, they have written
STOPPED=`is_clp_stopped java Launcher ${APPNAME}`
What is is_clp_stopped? There is no function with that name in the script. How can ...
I have an HTML template file wich is sent by email to users as a response from the classic web comments form.
This template, contains something like:
<html>
<body>
You have received a ...
Hi experts, I would like to print values in a variable on different line e.g
I have a variable called TEST with the following info "test test2 test3" I would want this output as:
test
test...
Hi experts
I have a scripts that reads input from command line, the input consists of multiple entries. I would like to ommit the first line after it has been read. e.g
HOST="host1 hos...
Hi,
Recently we have migrated from CVS to SVN.
The CVS content is so huge that it took 3 days for us to completely migrate to SVN.
Now, How can we make sure that all the content has bee...
Hi Experts
I want to add flow control to my shell script and I am getting undesirable results. what I want to do is if $APP is equal to "zip" then it should skip and go into the else state...
Hi:
I am creating a generic awk script that will take one argument (which is the filename except the datepart as the complete filename involves a filename and a datepart yyyymmdd). It will ...