Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: smart glob of dated subfolders

by tybalt89 (Monsignor)
on Feb 27, 2023 at 22:23 UTC ( [id://11150646]=note: print w/replies, xml ) Need Help??


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 (Parson) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11150646]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-26 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found