From 1d29159ecbc1e9615c7d4a755b13e3945b4d0a02 Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Fri, 13 Dec 2019 11:44:20 +0000 Subject: [PATCH] added build script to list files by change times --- buildScripts/listFilesByChangeTime | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 buildScripts/listFilesByChangeTime diff --git a/buildScripts/listFilesByChangeTime b/buildScripts/listFilesByChangeTime new file mode 100755 index 0000000..e88213f --- /dev/null +++ b/buildScripts/listFilesByChangeTime @@ -0,0 +1,9 @@ +#!/bin/bash + +# see:https://stackoverflow.com/a/7448828 + +find . -type f -print0 | \ + xargs -0 stat --format '%Y :%y %n' | \ + sort -nr | \ + grep -v build | \ + cut -d: -f2-