# The count of files in the sketch folder?

**URL:** <https://discourse.processing.org/t/the-count-of-files-in-the-sketch-folder/17931>\
**Category:** Beginners\
**Created:** [February 19, 2020, 12:44pm UTC](https://discourse.processing.org/t/the-count-of-files-in-the-sketch-folder/17931 "2020-02-19T12:44:08Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [February 20, 2020, 9:30am UTC](https://discourse.processing.org/t/the-count-of-files-in-the-sketch-folder/17931/5 "2020-02-20T09:30:58Z")

</div>

> [@File Listing Order](https://discourse.processing.org/t/file-listing-order/7148/41):
>
> [Docs.Oracle.com/en/java/javase/11/docs/api/java.base/java/util/Arrays.html#sort(java.lang.Object[])](http://Docs.Oracle.com/en/java/javase/11/docs/api/java.base/java/util/Arrays.html#sort(java.lang.Object%5B%5D)) static final String PICS\_EXTS = "extensions=,png,jpg,jpeg,gif,tif,tiff,tga,bmp,wbmp"; static final float FPS = .25; PImage[] images; void setup() { size(1200, 600); frameRate(FPS); imageMode(CENTER); final File dir = dataFile(""); println(dir); String[] imagePaths = {}; int imagesFound = 0; if (dir.isDirectory()) { imagePaths = listPaths(dir.getPath(), "files", "recursi…

---

_[View the full topic](https://discourse.processing.org/t/the-count-of-files-in-the-sketch-folder/17931)._
