in reply to smart glob of dated subfolders
It really depends on how up-to-date your information has to be.
On my home storage (which has my accumulated digital junk of the past 25 or so years on slow, rotating disks), i run something like this periodically:
Edit: '-type d' for directories.find /media/large -type f > /media/large/filelist.txt find /media/large -type d > /media/large/dirlist.txt
Doing a "find" can take 30+ seconds, but
is a sub-second operation.cat filelist.txt | grep -i myfirstquad | grep jpg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: smart glob of dated subfolders
by tybalt89 (Monsignor) on Feb 27, 2023 at 22:23 UTC | |
by cavac (Prior) on Feb 28, 2023 at 07:12 UTC |