in reply to Re: smart glob of dated subfolders
in thread smart glob of dated subfolders

I'm sure you meant to type

find /media/large -type d > /media/large/dirlist.txt
and also for Linux systems there's a 'locate' so that
locate -i myfirstquad | grep jpg
should work as well. At least on my system, 'locate' gets refreshed once a day, or you can refresh it any time by running 'updatedb'.

Replies are listed 'Best First'.
Re^3: smart glob of dated subfolders
by cavac (Prior) on Feb 28, 2023 at 07:12 UTC

    Thanks for catching the find typo.

    As for "locate": This works fine locally. But in my case, the storage is mounted over NFS on my workstation. Scanning the whole thing over the network is quite slow. So the storage itself (also running Linux) is making those 2 files and providing them in the NFS mount.

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP