On Tue, 2018-01-30 at 14:07 -0800, Rick Stevens wrote:
> > The idea is that the script picks up the files as fast as you drag them.
> > You might need to shrink the "sleep 1" to "sleep 0.1", or perhaps
> > better, to not sleep at all _if_ any files were run on that loop. The
> > sleep is there to stop your machine spinnning out when idle.
> 
> If you need this to be asynchronous, have a look at inotifywait(1) (part
> of the inotify-tools RPM) and build your script using that tool. The
> script then becomes event-driven rather than using polling.

Good idea.

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to