Re: Perl: "find -newer" in nativ

Hilmar Preuße <[email protected]>
Newsgroups gmane.user-groups.linux.dresden
Message-ID <[email protected]>
Am 12.02.2023 um 16:13 teilte Andreas Fett mit:
> On Sun, Feb 12, 2023 at 03:48:36PM +0100, Hilmar Preuße wrote:

Moin,

>> find($wanted, glob("/var/log/icinga/logs"));
 >
> Dass glob() ist die Filenameexpansion wie in der Shell. Ich
> hatte das drin, weil Dein ursprüngliches Beispiel dort
> "/path/to/pen8*/pools/*/logf" verwendet hatte. Wenn der Pfad ohne
> wildcards ist wie oben brauchst Du das glob() nicht.
>

Ja, danke. Das brauche ich auch. Die Pfadangabe ohne Wildcards sind
erstmal vom Test-System, da sind die File-System Strukturen etwas anders.

Hilmar
--
sigfault
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.