title: Trying to use the unix command 'find' to find all files checked into RCS
body: <p>I am trying to use the find command to find all of the files that are checked into RCS from my home directory. This includes files that end in things like <code>c,v</code>. When I run the commands such as </p>
  
  <pre><code>find . -name \*v 
  find . -name \*c,v 
  </code></pre>
  
  <p>this is close to the way I want and will give me files looking like </p>
  
  <pre><code>./LABTECH/RCSlab/trig/RCS/main.c,v
  </code></pre>
  
  <p>This is great except if I for some reason have a random file on my computer that ends in a v or in c,v that isn't in RCS, it is going to return that, too. Things like  <code>find . -name \*RCS\*c,v</code> do not work and return nothing. <code>find . -name RCS\*</code> will return the RCS directory, but none of the files inside the RCS directory. </p>
  
  <p>Is there someway I can get a find command to return all files that are in RCS directories, starting from my home directory. I know I can filter out unwanted files afterwards, but it needs to only be showing me files from the RCS directory to begin with.</p>
  
  <p>After reading all the answers I decided that assuming ,v are RCS files is the best way to go about this because we have not covered scripting for my teacher to ask us a question like that. We are not supposed to pipe into xargs or grep for the question either,and -path does not work on my version of unix. It was helpful to know from perreal that using -name does not allow me to match '/' which clears up some other questions I had but did not ask. I have come to the understanding that there is no way to do this without -path or some type of following command or script. Thank you all for your help.</p>