Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
yabones
· 4y ago · 0 comments
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
Comments
[–]
deadfece
4y ago
find's own exec option is usually good enough for most things:
-exec foobar {} +