joeblough54.2855795 at bloglines.com wrote:
Either what I want to do can't be done, or is so obvious I can't see it.
Some creative abuse of 'net use' and 'p4 client' might do the trick.
The usual caveats about network file systems apply. This presumes that
you're using Windows.
net use x: \\remote_host\target_dir
<bodge client>
p4 sync //depot/crown_jewels/...
I would like to be able to extract a directory from perforce and copy it
to another machine. (Essentially keeping ALL of my important bits in
Perforce,
where I can keep a close eye on them)
So for example instead of writing
something like this in my scripts (windows based)
robocopy \\myserver\mysoftware\j2sdk1.4.2_05
\\yourserver\yourshare\j2sdk1.4.2_05
in subversion I would do this
svn
export http://myserver/mysoftware/j2sdk1.4.2_05
\\yourserver\yourshare\j2sdk1.4.2_05
is there anyway to do something similar to this in perforce? ie
p4
sync //depot/mysoftware/j2sdk1.4.2_05/...
\\yourserver\yourshare\j2sdk1.4.2_05
Thanks