3 ms·
This seems like a better solution that just tweaking Linux to make it take only "a few seconds" to pull up an image. I'm curious what downsides/traps there are
by pc86 4y ago
This seems like a better solution that just tweaking Linux to make it take only "a few seconds" to pull up an image. I'm curious what downsides/traps there are in this approach vs. sticking with the single flat directory.
- bluedino 4y agoI have used that method many times with success. One side-effect is you can't go into a folder and type something like: `cp .doc` or `cp screenshots xxxxx`
- thesneakin 4y ago./**/*.doc Or `find -exec`
- bluedino 4y agoExcept that will be very slow when you have millions of files
- c0l0 4y agoEnumerating all images in the system over the network is what took a few seconds. "Pulling up an image" worked nigh-instantly, because contemporary filesystems have (and had) efficient indexes for the file(name)->data mapping(s) involved.