4 messages in com.perforce.perforce-user[p4] extracting files from Perforce W...
FromSent OnAttachments
joeb...@bloglines.com13 Sep 2004 15:05 
Tony Sweeney13 Sep 2004 17:54 
Michael McTernan14 Sep 2004 01:35 
Chuck Karish14 Sep 2004 08:55 
Subject:[p4] extracting files from Perforce WITHOUT a client spec
From:Tony Sweeney (swee@addr.com)
Date:09/13/2004 05:54:20 PM
List:com.perforce.perforce-user

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