10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to write a shell script to check if a file is open and something is being written to it. I want to know how OS handles it. I checked with lsof command but it is not working. For a test I did this.
while true; do echo `date` >>abc.txt; done
then I checked
lsof |... (5 Replies)
Discussion started by: shekhar_4_u
Hopefully someone can help.
We have a process that writes a file using Connect Direct to our local Solaris server and then our C++ program will pick up the file and process it. Unfortunately, because of the size of the file, the C++ program is processing the file before it has finished... (7 Replies)
Discussion started by: chris01010
3. Shell Programming and Scripting
I would like to know
Is it possible to get a notification as pop-up in linux
when a folder with extension '.aqs' written
a popup should come
as " The folder has been written "
Thank you in advance (5 Replies)
Discussion started by: bal_nair
4. UNIX for Advanced & Expert Users
Can I copy a binary file while the file is being written to by another process?
Another process (program) P1 creates and opens (for writing) binary file ABC on local disk. Process P1 continuously write into ABC file every couple of seconds, adding 512-byte blocks of data. ABC file... (1 Reply)
Discussion started by: mbuki
5. UNIX for Dummies Questions & Answers
This is my input file like this
88,902,+0000000079077,,/... (0 Replies)
Discussion started by: sgoud
6. Shell Programming and Scripting
I need to apply password protection to a xls file.I had looked at SpreadSheet::WriteExcel but problem being i dont want to write the contents of file again as the formatting the file would be a pain.
Is there way in which i write a entire file in one go , something like this
... (0 Replies)
Discussion started by: dinjo_jo
7. UNIX for Dummies Questions & Answers
I'm quite stuck with what I thought should've been simple but I just can't seem to do it. Firstly, I have the following done in bourne shell:
cat datafile | tr '' '' >> newfile
echo "$fullfilepath" >> newfile
i want to have the output of that echo put on the same line as the output... (4 Replies)
Discussion started by: Darkst
I would just like to ask about an issue I encountered. There is a Java program (version1.3) that we use that is hosted in Unix (HP-UX B.11.11 U), and one of its functions copies a file and writes it to another directory. It usually runs fine, but one day, it wrote a file that had 000... (2 Replies)
Discussion started by: mike_s_6
9. Shell Programming and Scripting
I am attempting to write a shell script (bourne shell script) which will copy a tar'd and compressed file from a directory to a staging area but will not know whether the file is still open for write since files are being ftp's to my site at random times during the day.
Once I am... (14 Replies)
Discussion started by: kanejm
10. UNIX for Dummies Questions & Answers
I have a directory that is used to store files generated by another application. Each file is huge and can take some time to produce.
I am writing a shell script to check the names and dates of the files and do some functions on the ones that are not being written out.
My question is, if I... (3 Replies)
Discussion started by: GMMike