bash script file access check?
Hi all
I have been using linux for a bit of time but would still class myself as a noobie. I dont know excatly what I am looking for but I can best describe it in a sanario.
I have started creating bash scripts which are looped indefinetly which checks a folder for files to process. my problem is, is there any way to check if the file is complete, as if the file is large and is being coppied from a different volume the file may still be copying or if the file is being uploaded by a user over samba/nfs, and if the file is still copying the process will most likely fail. if anyone has any ideas on how to resolve my problem I would be greatful
viperuk
|