# Anyway I can see the mtimes of the build files themselves

**URL:** <https://travis-ci.community/t/anyway-i-can-see-the-mtimes-of-the-build-files-themselves/11821>\
**Category:** Deployment\
**Tags:** travis-build\
**Created:** [July 6, 2021, 6:37pm UTC](https://travis-ci.community/t/anyway-i-can-see-the-mtimes-of-the-build-files-themselves/11821 "2021-07-06T18:37:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SolarUltima](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/solarultima/32/4019_2.png) [@SolarUltima](https://travis-ci.community/u/SolarUltima)\
**Post date:** [July 6, 2021, 6:37pm UTC](https://travis-ci.community/t/anyway-i-can-see-the-mtimes-of-the-build-files-themselves/11821/1 "2021-07-06T18:37:27Z")

</div>

as title suggests, anyway to do this?

---

<div class="post-metadata">

**Author:** ![Montana](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/montana/32/9566_2.png) [@Montana](https://travis-ci.community/u/Montana)\
**Post date:** [July 6, 2021, 6:40pm UTC](https://travis-ci.community/t/anyway-i-can-see-the-mtimes-of-the-build-files-themselves/11821/2 "2021-07-06T18:40:11Z")

</div>

You can _in fact_ do this, I’m assuming you’re talking about `ninja` vs something like `make`. You can make a bash script that looks something like this to get the `mtimes`:

```bash
find . -type f -printf "%.10T@\n" | sort | read OLDEST_MTIME
export OLDEST_MTIME=$((OLDEST_MTIME-1))
find ${TRAVIS_BUILD_DIR} -type f -exec touch -c -m -d “@$OLDEST_MTIME” {} \;

```

This should print them out for you. Let me know if this works.

Montana Mendy  
Travis CI Staff
