add script for checking dropbox file sync

This commit is contained in:
Oystein Kristoffer Tveit 2021-05-28 23:23:00 +02:00
parent 4aa66896e1
commit 1d7fedefe4
1 changed files with 5 additions and 0 deletions

5
scripts/dpcheck Executable file
View File

@ -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/[^.]"