diff options
author | Colin Okay <colin@cicadas.surf> | 2022-08-15 12:40:42 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-08-15 12:40:42 -0500 |
commit | 391acc08c3131cc1f192c4978f7b9ae5bf3e2806 (patch) | |
tree | 41a2d3d5d6d089fe6075c273fff6ad8f06eb6b62 | |
parent | 802726bbdabe18fb06453001c011b37ca952c4ed (diff) |
[modify] listing boards and threads by time
-rwxr-xr-x | threadcat-list.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/threadcat-list.sh b/threadcat-list.sh index 3f19691..ad2b21c 100755 --- a/threadcat-list.sh +++ b/threadcat-list.sh @@ -8,11 +8,11 @@ LISTING_HEADING="~~~~~~~~~~~~~~~~~~~" if [ -z "${BOARD}" ]; then echo "BOARDS" echo $LISTING_HEADING - ssh $THREADCAT_USER "ls -l /opt/threadcat | grep ^d" | awk '{ s = ""; for (i = 6; i <= 9; i++) s = s $i " "; print s }' + ssh $THREADCAT_USER "ls -lt /opt/threadcat | grep ^d" | awk '{ s = ""; for (i = 6; i <= 9; i++) s = s $i " "; print s }' echo "" echo "TOP LEVEL THREADS" echo $LISTING_HEADING - ssh $THREADCAT_USER "ls -l /opt/threadcat | grep -v ^d" | awk '{ s = ""; for (i = 6; i <= 9; i++) s = s $i " "; print s }' + ssh $THREADCAT_USER "ls -lt /opt/threadcat | grep -v ^d" | awk '{ s = ""; for (i = 6; i <= 9; i++) s = s $i " "; print s }' else echo "Listing threads under $BOARD" echo $LISTING_HEADING |