The command you've written attempts to move all files with a .html extension in a directory referenced by the variable TEMP_DIR into the TEMP_DIR itself. However, there is an issue with the use of wildcard (*) expansion inside the double quotes. The shell won't expand the wildcard because it's quoted, and therefore it will look for a file literally named * rather than treating it as a pattern for all files.
To fix this, you should unquote the * to allow the shell to expand it and match all files within the html directory:
bash
mv "${TEMP_DIR}/html/"* "${TEMP_DIR}/"
Now, the shell will expand the wildcard * to match all files and subdirectories in the ${TEMP_DIR}/html directory and move them to ${TEMP_DIR}.