From cb56b0be155f2e2b2be29213c782b313a5d098dd Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Sun, 19 Jul 2015 10:55:45 +0200 Subject: [PATCH] Added -v to find commands, to show progress when you are converting. --- init/99_chown_plex_owned_files.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init/99_chown_plex_owned_files.sh b/init/99_chown_plex_owned_files.sh index 51dd64f..4c6ac25 100644 --- a/init/99_chown_plex_owned_files.sh +++ b/init/99_chown_plex_owned_files.sh @@ -2,6 +2,8 @@ if [ -d "/config/Library" ]; then -find "/config/Library" \! -user abc -exec chown -h abc:abc {} \; -find "/config/Library" \! -group abc -exec chown -h abc:abc {} \; +find "/config/Library" \! -user abc -exec chown -hv abc:abc {} \; +find "/config/Library" \! -group abc -exec chown -hv abc:abc {} \; +find "/config/Library/Application Support/Plex Media Server/Plug-ins" fi +