From 49b53c75b94aea509436536f94dc3e65354b9fcf Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 26 Oct 2016 20:44:03 +1300 Subject: Add local/bin files --- local/bin/yardle-cache-analyse | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 local/bin/yardle-cache-analyse (limited to 'local/bin/yardle-cache-analyse') diff --git a/local/bin/yardle-cache-analyse b/local/bin/yardle-cache-analyse new file mode 100755 index 0000000..9ec3eb4 --- /dev/null +++ b/local/bin/yardle-cache-analyse @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ -z $1 ]; then + echo Usage: $0 '' + exit 1 +fi + +ls -1 $1 | while read -r file ; do + ts=$(head -n 1 $1/$file) + echo Created $(date --date=@$ts), $file +done -- cgit v1.1