You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gerardo Corro <ro...@hotmail.com> on 2010/11/23 11:49:16 UTC

Find file in repo

Hi all,
How can I get the path of one file in a SVN repo?Supouse I want to find a file named "LoginInterceptor.c" with its complete path in one SVN repo.
Thanks in advanced.
///RGB
 		 	   		  

RE: Find file in repo

Posted by Gerardo Corro <ro...@hotmail.com>.
Thanks a lot, this solved my problem.
Best regards

> Date: Tue, 23 Nov 2010 13:06:16 +0100
> From: piotr@kabot.net
> To: users@subversion.apache.org; rob_gar_esp@hotmail.com
> Subject: Re: Find file in repo
> 
> On 23-11-2010 12:49, Gerardo Corro wrote:
> > How can I get the path of one file in a SVN repo?
> >
> > Supouse I want to find a file named "LoginInterceptor.c" with its
> > complete path in one SVN repo.
> 
> Hi, maybe it's not exactly what you are asking for, but try to use 
> something like this:
> svn ls -R svn://svnserver/repo | grep LoginInterceptor.c
> 
> -- 
> Piotr Kabacinski
> a2Fib3Q=--------
 		 	   		  

Re: Find file in repo

Posted by David Weintraub <qa...@gmail.com>.
On Tue, Nov 23, 2010 at 7:06 AM, Piotr Kabacinski <pi...@kabot.net> wrote:
> Hi, maybe it's not exactly what you are asking for, but try to use something
> like this:
> svn ls -R svn://svnserver/repo | grep LoginInterceptor.c


If you're on Windows, you can use "find" instead of "grep"

    $ svn ls -R svn://svnserver/repo | find "LoginInterceptor.c"

-- 
David Weintraub
qazwart@gmail.com

Re: Find file in repo

Posted by Piotr Kabacinski <pi...@kabot.net>.
On 23-11-2010 12:49, Gerardo Corro wrote:
> How can I get the path of one file in a SVN repo?
>
> Supouse I want to find a file named "LoginInterceptor.c" with its
> complete path in one SVN repo.

Hi, maybe it's not exactly what you are asking for, but try to use 
something like this:
svn ls -R svn://svnserver/repo | grep LoginInterceptor.c

-- 
Piotr Kabacinski
a2Fib3Q=--------