[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Determining which files are treated as binary

From: Dominic Anello <danello_at_danky.com>
Date: 2005-06-02 17:14:44 CEST

On 2005-06-02 10:16:05 -0400, Dominic Anello wrote:
----8<----
> IIRC, everything without a text/* mime-type will get treated as binary
> so just look for non-text mime-types:
>
> find . -! -path '*/.svn/*' -type f | \
> | xargs svn propget "svn:mime-type" 2>/dev/null | grep -v 'text/'

Sorry to reply to myself, but even easier (and more efficient) would be:

svn pg -R svn:mime-type . | grep -v ' - text/'

  • application/pgp-signature attachment: stored
Received on Thu Jun 2 17:53:09 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.