Created
January 29, 2016 01:29
-
-
Save huseyin/5635ac6badf9bdb37eab to your computer and use it in GitHub Desktop.
Inotify deneme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sistemde kurulu mu? | |
which inotifywait >/dev/null | |
[ $? -eq 0 ] || sudo apt-get install inotify-tools | |
# DBOXPATH set edilmiş mi? | |
[ -z "$DBOXPATH" ] && export DBOXPATH=$HOME/Dropbox | |
# Dene bakalım | |
echo Servis başlatılıyor... | |
inotifywait -mrq $DBOXPATH 2>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment