When trying to delete a directory using the rmdir command, you may find the answer "rmdir: 'dir': Directory not empty" and you can not delete that directory.
To delete a directory that contains files or other subdirectories, then you can use the following command:
rm -r FOLDER_NAME
The above command if executed it will delete all the files and directories in the folder/directory mentioned in the command, the MOVIES folder and the contents in it. However, the command will prompt an approval to delete each file, if there are 10 then 10 approval requests will appear. The parameter r here means recursive, so the MOVIES folder and its contents will be deleted recursively, but will fail if there are any more folders.
It is actually good for security, so no mistake in removing the directory. But it would be troublesome.
rm -rf MOVIES
Removing FILE on Terminal Linux and Mac OS