Re: [fpc-pascal] Getting size of file without opening it?

2020-07-24 Thread Bo Berglund via fpc-pascal
On Fri, 24 Jul 2020 00:29:10 +0200 (CEST), Michael Van Canneyt wrote: > > >On Fri, 24 Jul 2020, Bo Berglund via fpc-pascal wrote: > >> I am using FindAllFiles in order to list the files in a directory and >> it works fine. >> >> But I also need the size and timestamp of the file so I searched the

[fpc-pascal] Is there a FindAllDirs command like FindAllFiles?

2020-07-24 Thread Bo Berglund via fpc-pascal
I am using FindAllFiles() in order to enumerate the files of a certain name pattern in a FPC application on Linux. I am using Fpc 3.0.4 and Lazarus 2.0.8. FindAllFiles() has a switch to search the files in subdirectories and this works fine. But I would like to enumerate the subdirectories themse