Re: Command to check that a directory changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 29, 2010 at 4:08 AM, ESGLinux <esggrupos@xxxxxxxxx> wrote:
> Hi all,
>
> I´m making a bash script and I need to know when a new file appears in a
> directory.
>
> anybody knows if is there a command that to that or i need to use a
> commbination of some commands  (ls, wc, sleep, cron...)

You might find inotifywait useful for this.

John

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux