version 1.40.130 release
[feisty_meow.git] / scripts / files / find_latest_files.sh
1 #!/bin/bash
2
3 # find last written files, made friendly for dell by avoiding the .clusterConfig directory.
4
5 for pathname in "${@}"; do
6
7   echo ==============
8   echo latest on path: $pathname
9   echo
10  
11   find "$pathname" -path "$pathname/.clusterConfig" -prune -o -type f -print0 | xargs -0 stat --format '%Y :%y %n' | sort -nr | cut -d: -f2- | head -n 20
12
13   echo; echo
14
15 done
16