Autor Beitrag
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Mo 21.01.13 23:38 
Moin!

Ich hätte da mal wieder ein Problem. Vielleicht hat das ja der ein oder andere schon für irgendwas gelöst.

Was ich brauche, ist sowas wie shell pattern expansion in Bash für ein Commandline-Programm. Also die Expansion von Dateifiltern "mit Extras", wie sie normales FindFirst nicht kann. Konkret z.B:
*/foo*.pdf :arrow: alle pdfs in allen Unterordnern, die mit "foo" anfangen.

Das ganze dann noch sortiert, aber das bekomme ich auch noch selber hin...

Also das Konzept ist mir schon mehr oder weniger klar (Filter in Pfadabschnitte zerlegen und rekursiv durchsteigen), ich frage nur, ob jemand das schonmal gemacht hat. Bin ja faul :mrgreen:

Viele Grüße,
Martok

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."