Compare commits
2 Commits
c69a3bb163
...
b4d8fccb7d
Author | SHA1 | Date | |
---|---|---|---|
b4d8fccb7d | |||
e966e1b6ba |
|
@ -9,6 +9,12 @@ if [ ! -e "$home_local_themes_dir" ]; then
|
||||||
echo "Directory $home_local_themes_dir is created."
|
echo "Directory $home_local_themes_dir is created."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -e "$target_themes_dir" ]; then
|
||||||
|
mkdir -p "$target_themes_dir"
|
||||||
|
echo "Directory $home_local_themes_dir is created."
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
echo "Set watch for" "${source_theme_dirs[@]}" "directories ..."
|
echo "Set watch for" "${source_theme_dirs[@]}" "directories ..."
|
||||||
while inotifywait -qr -e 'modify,attrib,move,move_self,create,delete,delete_self,unmount' "${source_theme_dirs[@]}"; do
|
while inotifywait -qr -e 'modify,attrib,move,move_self,create,delete,delete_self,unmount' "${source_theme_dirs[@]}"; do
|
||||||
rsync -av --delete --progress "${source_theme_dirs[@]}" "$target_themes_dir"
|
rsync -av --delete --progress "${source_theme_dirs[@]}" "$target_themes_dir"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user