Skip to content

Instantly share code, notes, and snippets.

@thibault
Created September 19, 2013 08:35
Show Gist options
  • Save thibault/6620647 to your computer and use it in GitHub Desktop.
Save thibault/6620647 to your computer and use it in GitHub Desktop.
Trouvé dans un vieux projet symfony. Priceless.
rm *# */*# */*/*# */*/*/*# */*/*/*/*# */*/*/*/*/*# */*/*/*/*/*/*# */*/*/*/*/*/*/*#;
rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~ */*/*/*/*/*~ */*/*/*/*/*/*~ */*/*/*/*/*/*/*~;
echo > log/backend.log;
echo > log/backend_dev.log;
echo > log/frontend.log;
echo > log/frontend_dev.log;
./symfony cc;
chmod 777 cache;
chmod 777 cache/*;
chmod 777 log/;
chmod 777 log/*;
chmod 777 htdocs/uploads;
chmod -R 777 htdocs/uploads/;
chmod 777 htdocs/images;
chmod -R 777 htdocs/images/;
chmod 777 htdocs/backup;
chmod 777 htdocs/backup/*;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment