feat(prvt):Add private submodule for private executable code
[BK-2020-03.git] / user / bkidle
1 #!/bin/bash
2
3 # Date: 2020-03-09T04:51Z
4
5 # Description: A bash script showing recent edits to a given
6 # directory.
7
8 # Usage: bkidle [dir]
9
10 TARGET_DIR="$1"
11
12 while true;
13 do
14 find "$1" -readable -mmin -1 -type f -exec b2sum -l 32 '{}' \;;
15 echo "$(date +%Y%m%dT%H%M%S.%N%z)========";
16 sleep 60;
17 done