emptying a directory in linux without deleting the folder itself
Want to clear everything inside a logs folder, including hidden files, but keep the folder because a service writes into it. rm -rf folder/* misses the dot files. What's the clean way to do it?