Delete files within folder (Drupal)
May 16, 2017
Use this command to delete the files within a folder for a Drupal project.
First, change the permissions:
chmod 755 -R sites
Next, remove the files, including the hidden ones, within the folder:
rm -rf path/* path/.*
.*: remove hidden files