Forum Discussion

amit_saroha's avatar
amit_saroha
New Contributor III
4 years ago
Solved

Count of files in a directory

Hi,

I want to find out the count of files in a directory, could you please suggest how to achieve it?

  • Hi @amit.saroha

    I think nsinggam means this.

    • the first snap is a directory browser where you just put down the path of your directory (full path of your org (name in top right corner) with the project space en project name next to it so like.
      org/projectspace/projectname
    • Next in the filter snapp you filter on type: $Type == “File”
    • in the aggregate snap you choose count then define the fields to count for example the names or other unique field and then choose the result field names: e.g $totalFiles

    But I don’t know why there is a yellow triangle, anyone knows why ?