03-10-2016
How about the sending side to put .TMP (or similar temporary extension), and when copy is over use mv command.
This would be an atomic operation on same filesystem, and your script would not need fuser at all.
What is the way 'transmission' is happening (ftp,scp or ) ?
Hope that helps
Regards
Peasant.
10 More Discussions You Might Find Interesting
1. Programming
Hi,
is it possible to write files via write() to a socket and read it on the other side via read(), without going through buffers? Iif not via write() and read() are there other possibilities?
thanks
darkspace (5 Replies)
Discussion started by: darkspace
5 Replies
2. Shell Programming and Scripting
script for to take files from FTP server to UNIX server and Unzipped that files (1 Reply)
Discussion started by: sunilamarnadh
1 Replies
3. Programming
Hello!
I searched forum for similar topic, with no luck, if you know one, delete this topic, and send me private message with link please.
Little background:
I have a lot of clients and one serwer. Client can make multiple connections on different ports and ips, but only one can be acctive... (2 Replies)
Discussion started by: ikeban
2 Replies
4. Shell Programming and Scripting
Hi All,
Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.
Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Discussion started by: sachinkl
2 Replies
5. Shell Programming and Scripting
We would be migrating unix solaries to Linux redhat.
Basically source is unix and target is linux.
i would like to copy entire file system unix/source/* to target linux/souce/*
but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies
6. Shell Programming and Scripting
Hi,
I have two unix servers i need to move files from one server to another.
For example:
i have some files in Server1 and i want to run script in server2 to move files from server1.
Any suggestion
Thanks in advance (1 Reply)
Discussion started by: karingulanagara
1 Replies
7. UNIX for Dummies Questions & Answers
Can any one give a explaination with examples on how to understand file transmission log files in Unix for inbound and outbound traffic. (1 Reply)
Discussion started by: ITDev01
1 Replies
8. Linux
I have created a lun on Storage and connected it to server using fiber channel.
LUN is presented on new Server .
How do i check and mount this newly created LUN? (1 Reply)
Discussion started by: pinga123
1 Replies
9. Solaris
I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output.
Is it possible to transfer files from Windows server to unix server through any shell script?
If so can you please help me with the details.
Thanks in... (8 Replies)
Discussion started by: ssk250
8 Replies
10. Shell Programming and Scripting
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Discussion started by: vx04
2 Replies