Hernán,

We obviously don't have as many options as find, but this should get you 
started:

Check the category 'enumerating' in AbstractFileReference, with methods like 
#childrenMatching: and #allChildrenMatching: 

Once you have a reference, you can use other meta data, see the 'accessing' 
protocol to further your query.

HTH,

Sven

> On 18 Jun 2017, at 04:59, Hernán Morales Durand <hernan.mora...@gmail.com> 
> wrote:
> 
> I would like to find files in Pharo like the UNIX find command:
> 
> find . -iname "*.txt" -type f -print
> 
> find . \( -iname "*.txt" -o -iname "*.csv" \) -print
> 
> find . -maxdepth 2 -name "example*"  -type f -print
> 
> find . -type f -atime -7 -size +2M -perm 644 -print
> 
> Do we have some package on top of FileSystem to make complex find searches?
> 
> Hernán
> 


Reply via email to