Haytham
Haytham

Reputation: 502

How to use list command in SVN to list files with a specific extension? e.g. .jar or .java

I need a way to use svn list command which returns urls for files with specific extensions e.g..jar or .java. something like this if it exists:

svn list https://url-to/extrenal/repo [*.jar]

Upvotes: 1

Views: 673

Answers (1)

Laurent H.
Laurent H.

Reputation: 6526

I suggest you:

  1. to use the -R option for recursive search
  2. to use find (on Windows) or grep(on Linux) to filter the results

I guess you're using Windows because of tag tortoisesvn.
So here is the command on Windows:

svn list -R https://url-to/extrenal/repo | find ".jar"

Upvotes: 2

Related Questions