dotfiles/scripts/dpcheck

6 lines
146 B
Bash
Executable File

#!/bin/bash
# Check which files dropbox is modifying
ls -l /proc/$(pidof dropbox)/fd | egrep -v 'pipe:|socket:|/dev' | grep "$DROPBOX_DIR/[^.]"