Fixed SC2006
remove obsolete brackets
Fixed SC2086: Double quote to prevent globbing and word splitting
Fixed SC2016:  Expressions don't expand in single quotes, use double quotes for that.
Fixed SC2024:  sudo doesn't affect redirects. Use ..| sudo tee file
Fixed SC2035:  Use ./*.m3u so names with dashes won't become options.
Fixed SC2089: Quotes/backslashes will be treated literally. Use an array.
Removed single quote from the rsync options since the excludes do not work with them