Is it possible to create a "file" that, essentially, is symlinked to multiple other files.
Let's say we have a /tmp/dir/ with 100 files in it. What I want is to be able to do is "cat /tmp/dir_allfiles" which would, in essence, be the same as cat /tmp/*
The real use case is more complicated where files may be at different directory levels, etc. so please don't suggest I just use find
or cat */*/*
or something similar.
I'm fine if I have to use C to do ridiculous / dangerous things. I'm mostly interested in if it's possible.
Here's some of my uname -a if you are curious 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux