diff --git a/gen_playlist_from_subfolders.sh b/gen_playlist_from_subfolders.sh index 5dc428e8..7a44eeda 100755 --- a/gen_playlist_from_subfolders.sh +++ b/gen_playlist_from_subfolders.sh @@ -27,7 +27,7 @@ playlist="$listDate.json" [[ -d "$trunk" ]] || mkdir -p "$trunk" c="0" -count=$( find "$src" -name "*.mp4" | WC -l ) +count=$( find "$src" -name "*.mp4" | wc -l ) # build Head for playlist printf '{