10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We are transferring xml files to remote machine through cronjob @every 5 mins and then will move the files to the backup folder is source server.
Sometimes the file is transferred as 0kb to destination server, whereas the file in the source backup folder is completely written.
There is no error... (6 Replies)
Discussion started by: Bhavi
6 Replies
2. Shell Programming and Scripting
HI All,
I have exactly 100 text files with extension .txt. The files contain numbers like this:
1.txt
0.4599994 65914
0.40706193 190743
0.39977244 185019
0.39831382 74906
0.3915928 122428
0.38844505 39999
0.38820446 72691
0.38787442 176430
0.38670844 28791
0.38597047 91091... (2 Replies)
Discussion started by: shoaibjameel123
2 Replies
3. UNIX for Dummies Questions & Answers
Hi There,
I need a script which shud basically check the size of the file..if its is 0kb send email to a list of people and
if is > 0KB, send an email to someother list...
Please help (1 Reply)
Discussion started by: saggiboy10
1 Replies
4. Shell Programming and Scripting
Hello,
I am curious. If I have a line of code run in bash
VAR="
It
is
a
nice
shiny
day
"
and I would like to be able to print this with the newlines in tact, is there a way? Are the newlines actually there but stripped by echo $VAR or echo -e $VAR?
In Python you can:>>>VAR = """... (4 Replies)
Discussion started by: Narnie
4 Replies
5. Shell Programming and Scripting
Hi all,
I was a UNIX shell script that will check for the file size of each file and it should be re directed to a text file say filesize.txt
And if there are more than 10 0KB files then FTP should not happend and whenever there are less than 10 0KB files it should FTP the files.
Kindly help me... (1 Reply)
Discussion started by: Codesearcher
1 Replies
6. Shell Programming and Scripting
Hi,
I need help in printing files from a directory.
eg: a directory called /home/ABC and there are 3 files in it.
I need to give printout one bye one. One more thing is I need to print date and the path on the top of each page...like...
Sep 30 14:22 2008 /home/ABC Page 1
I've been... (1 Reply)
Discussion started by: injeti
1 Replies
7. Shell Programming and Scripting
Hi All,
Can you please tell me how to identify a 0kb file from a list a files and redirect only those files to a .txt file.
ls -l shows me all the 0kb files...but how to redirect only those files..
Thanks for ur help,
Kumar (3 Replies)
Discussion started by: kumarsaravana_s
3 Replies
8. UNIX for Dummies Questions & Answers
Hi, i need to strip out a logfile dir, but only remove the files with 0kb . How would i go about doing this?
TIA (3 Replies)
Discussion started by: mephisto
3 Replies
9. UNIX for Dummies Questions & Answers
Hi all:
I'm trying to resolve a print issue in HPUX.
Background:
An ascii report file was being produced by a program. It was being sent to the printer via internal commands, to wit:
let #send_status = 0
let $send_cmd = 'lp -d lp03 /ps/tmp/edsprint/eds*.N.LIS'
call... (4 Replies)
Discussion started by: abNORMal
4 Replies
10. UNIX for Dummies Questions & Answers
Please forgive my ignorance...but I was hoping a Unix guru could help me with sending .TIFF files to an HP color laserjet 8550. I understand that .TIFF is not one of the languages used in this case, but I understood that there might be some commands that could be added to the queue to allow it to... (3 Replies)
Discussion started by: elbryan
3 Replies