binary - How to make SVN ADD ignore binaries -


There is no extension of binary (under Linux) so I can not exclude them using patterns like this when I If I use the SVN add to add a directory, I get something

recursion_vector / a recursion_vector a recursion_vector / rec_vec.cxx one recursion_vector / rec_vec HK (bin) recursion_vector / rec_vec

Here rec_vec is executable I would like to exclude. SVN clearly considers it a binary Can I now ask Subversion to ignore all binary files?

This is a little verbose because it uses search:

Find [TARGET-DIRECTORY] \ (-executable-type f \) -prune -o-print | Executing executable files ( \ (-executable -type F \) -prune ) by passing the target directory to Xargs svn add -depth blank

. The directory will also be deducted without -type f search, as they are generally set bits or "search bit" set. On

- Depth blank option add , svn asks itself to absorb the file object, since finding is handling recurrence.

If you like the result, you can put it in a shell function that you pass in the arguments for the [target-directory] .

Thanks,

Zaichi


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -