Subversion: Moving multiple files with a wildcard on Windows
I recently tried to move multiple files with subversion using a wildcard on windows:
>svn move lib/*.dll .
but to no avail
svn: Client error in parsing arguments
What? I read somewhere that this is caused by the way the wildcard is interpreted. On unix based system,
apparently, the wildcard is expanded by the shell to the matching files. Hence the command sent to subversion is svn lib/liba.dll lib/libb.dll lib/libc.dll .
This won’t work since the move command only takes two arguments.
On Windows however, I’m not sure whether or not the wildcard is expanded or not but something goes wrong. One solution is to create a simple loop:
FOR %f IN (lib\*.dll) DO svn mv %f .
No comments yet. Be the first.
Leave a reply