Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know that you can find files in a path and sub directories modified in the past week with:

find -L /somepath -mtime -5 -type f

I could assign that to a job and have it run every night to create symlinks to those files in a particular folder using -exec ... That's not the purpose of my question though.

I'd like to know if it's possible to "emulate" a disk/folder and make a file mountable (like a smart ISO?) that would return a list of those files automatically, or if this application has already been done? (I've been looking, but not finding it.)

share|improve this question
You can (rather easily, I am told) implement a minimal filesystem using FUSE yourself. You should be familiar with C though. – Daniel Beck Nov 1 '11 at 16:14
@Daniel Beck - I'd have some serious brush up to do on my C to do that I think. (I haven't done C in years...) If no answers come in I may have to look into this. Thanks. – Andir Nov 1 '11 at 16:21
up vote 1 down vote accepted

Another approach besides FUSE is to create a small program (again using C or maybe Google Go) which is using inotify system calls to monitor the filesystem, filters relevant events and keeps tmpfs filesystem full of symlinks in actual state.

share|improve this answer
Selected your answer as the correct one. I did not find a way to do this so I reverted to a cron job to create symlinks every couple hours in a specific folder. – Andir Dec 15 '11 at 19:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .