Look at inotify.
With inotify you can watch a directory for file creation.
More Related Contents:
- grep lines that contain 1 character followed by another character
- When should I wrap quotes around a shell variable?
- How to convert DOS/Windows newline (CRLF) to Unix newline (LF) in a Bash script
- How to cat a file containing code?
- What’s the magic of “-” (a dash) in command-line parameters?
- What is double dot(..) and single dot(.) in Linux?
- What does the number in parentheses shown after Unix command names in manpages mean?
- Forcing bash to expand variables in a string loaded from a file
- How to instruct cron to execute a job every second week?
- How do I use the lines of a file as arguments of a command?
- How can I programmatically create a new cron job?
- How to concatenate multiple lines of output to one line?
- How to split CSV files as per number of rows specified?
- Using the passwd command from within a shell script
- GROUP BY/SUM from shell
- List files recursively in Linux CLI with path relative to the current directory
- How to sort strings that contain a common prefix and suffix numerically from Bash?
- linux: kill background task
- In Linux, how to tell how much memory processes are using?
- Why can’t I use Unix Nohup with Bash For-loop?
- How does vi restore terminal content after quitting it?
- How to print third column to last column?
- Linux/Unix command to determine if process is running?
- don’t fail jenkins build if execute shell fails
- How do I get the path of a process in Unix / Linux?
- Forking vs Threading
- How to attach a file using mail command on Linux? [duplicate]
- What are the rules for valid identifiers (e.g. functions, vars, etc) in Bash?
- What is PATH on a Mac (UNIX) system?
- understanding and decoding the file mode value from stat function output