Reputation: 21934
How do I move the contents (files) inside one folder (A) into another folder (B) without copying over (B)'s current contents?
Folder A
- file 1
- file 2
- file 3
Folder B
- file 4
- file 5
- file 6
I'd like the end result to be:
Folder A
- empty
Folder B
- file 1
- file 2
- file 3
- file 4
- file 5
- file 6
Upvotes: 3
Views: 4862
Reputation: 26584
svn move foldera/file*.ext folderb
svn commit -m "move all files in foldera to folderb" .
http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.move.html
If you have files with the same filename in the target directory they will be overwritten. You'll have to inspect and issue the correct svn move command (or multiples of it) for your situation. This works in your local directory so you can inspect the results before you check in. If you use the svn url instead of paths in your working copy it'll be committed immediately.
Upvotes: 6