I want to remove all the versioned files from my repository, but KEEP the versioned directory structure. Obviously I want to leave all the .svn directories untouched.
In other words, I want to completely empty a working copy's directory structure WITHOUT harming the directory structure itself.
For example, removing the files from this structure:
dir/
.svn/
[files]
svsubdir1/
file1
.svn/
[files]
subdir2/
file2
file3
file4
.svn/
[files]
subsubdir1/
file5
.svn/
[files]
Should result in:
dir/
.svn/
[files]
svsubdir1/
.svn/
[files]
subdir2/
.svn/
[files]
subsubdir1/
.svn/
[files]
I'm looking for some sort of find
command or something to accomplish this, and I'm having trouble constructing the command. Thanks for the help!