A client of us, is going to transfer the files to our server. I need to check if the files exist in that inbound directory and if they are , move them to a different directory so I can read them from my code. I need to write a shell script for this. How do I iterate through files in that inbound directory?
|
feedback
|
|
Write your script around | |||
|
feedback
|
|
make a cronjob which does this:
the tricky part is to find out, if a file is not yet finished (eg, someone is still uploading). you could play around with | ||||
|
feedback
|