3 ms·
Not sure if there's a way to do it instantly, but one way is to just run a find command in a cron job every X hours: find /foo/bar -type f -mtime +1 | xarg
by yabones 4y ago
Not sure if there's a way to do it instantly, but one way is to just run a find command in a cron job every X hours:
find /foo/bar -type f -mtime +1 | xargs foobar
- deadfece 4y agofind's own exec option is usually good enough for most things: -exec foobar {} +