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