4 messages in com.perforce.perforce-user[p4] re: specify alternate target dir...
FromSent OnAttachments
Dan Kegel06 Aug 2003 10:24 
Robert Cowham06 Aug 2003 10:42 
Dan Kegel06 Aug 2003 10:48 
Mike Castle06 Aug 2003 17:39 
Subject:[p4] re: specify alternate target directory on sync?
From:Robert Cowham (rob@vaccaperna.co.uk)
Date:08/06/2003 10:42:37 AM
List:com.perforce.perforce-user

This is very easy with the Ruby or Perl integrations.

-----Original Message----- From: perforce-user-admin at perforce.com [mailto:perforce-user-admin at perforce.com] On Behalf Of Dan Kegel Sent: 06 August 2003 18:25 To: cnewland at Quinstreet.com; perforce-user at perforce.com Subject: [p4] re: specify alternate target directory on sync?

Chris Newland asked:

Is it possible to sync a view to an alternate directory (using the -d switch to the p4.exe command line client) ?

I'm writing a build script and I'd like to sync my code to a temporary working directory that can be deleted when I've finished with it. Can I do this without having to set up more views ?

I'd say create a clientspec on the fly, rather than a view in your existing clientspec. - Dan