On 11/16/2006 7:11 AM, Christian Convey wrote:
> I have two directories, "foo" and "bar". Both are in the same repository,
> and I have local copies of both directories and their contents.
>
> "foo" has many Python files that I want to copy to the "bar" directory. So
> if I were using the regular Unix "cp" command, I'd normally do this: "cp
> foo/*.py bar".
>
> When I try to do that with Subversion, however: "svn cp foo/*.py bar", it
> seems upset that I'm asking it to work on more than one file.
>
> How do people typically get around this? Is this seen as a feature that
> Subversion ought to support sometime in the future?
Normally I would copy a whole directory, rather than needing to select a
subset of files by pattern, so I haven't needed to do what you want. If
I did, I'd probably just build it up using a shell command. In bash,
for f in foo/*.py ; do svn cp $f bar ; done
Duncan Murdoch
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 16 13:30:43 2006