Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.