Skip to main content

Posts

Showing posts with the label svn

How can I get `find` to ignore .svn directories?

I often use the find command to search through source code, delete files, whatever. Annoyingly, because Subversion stores duplicates of each file in its .svn/text-base/ directories my simple searches end up getting lots of duplicate results. For example, I want to recursively search for uint in multiple messages.h and messages.cpp files:

How to check php syntax of multiple files at once?

i have a svn server that i checkout the repository in my computer the main repositiry is about 2k files 3rd party generic code classes custom classes i have made changes to lots of files (mainly php) and i want to make sure they are all valid before i commit svn commit -m "i fix the bug #293" how can i check all the files at once to make sure they are valid and no php errors so i dont have to manually check all these files thanks