How could I trigger a command in ubuntu/linux, whenever a new file is created in a directory by a Java webapp ?
Usage/Context:
I need to move a newly created file (created by java app), in a directory to amazon s3 using s3cmd
command.
How could I trigger a command in ubuntu/linux, whenever a new file is created in a directory by a Java webapp ?
Usage/Context:
I need to move a newly created file (created by java app), in a directory to amazon s3 using s3cmd
command.