This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Difference between revisions of "Linux commands"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
Line 5: Line 5:
  
  
For theme install with svn dirs in it
+
Remove all .svn directories except for the actual theme dirs
 
+
find ! -path "*/ThemeName/*" -name .svn -type d -exec rm -Rf {} \;
find modules -maxdepth 1 ! -path "*/.*" -type d
+

Revision as of 10:14, 14 August 2009

Find all symbolic links to a specific directory:

find -maxdepth 2 -type l -exec stat {} \; | grep /usr/local/trunk


Remove all .svn directories except for the actual theme dirs find ! -path "*/ThemeName/*" -name .svn -type d -exec rm -Rf {} \;