From 1d7fedefe473431f23bdb352b8d74d05edd370f7 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 28 May 2021 23:23:00 +0200 Subject: [PATCH] add script for checking dropbox file sync --- scripts/dpcheck | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/dpcheck diff --git a/scripts/dpcheck b/scripts/dpcheck new file mode 100755 index 0000000..8e81a9a --- /dev/null +++ b/scripts/dpcheck @@ -0,0 +1,5 @@ +#!/bin/bash +# Check which files dropbox is modifying + +ls -l /proc/$(pidof dropbox)/fd | egrep -v 'pipe:|socket:|/dev' | grep "$DROPBOX_DIR/[^.]" +