Skip to content

chown a svn project to www-data / exlude .svn directory with find

  1. find . -name .svn –prune -o -print | xargs chown www-data:www-data
  2. #Exclude another directory (cache)
  3. find . -name .svn -or -name cache –prune -o -print | xargs chown www-data:www-data