[p4] How to sync only files already present?

steve@vance.com steve at vance.com
Wed Oct 4 04:06:12 PDT 2006


I would probably map only those files in my client spec so I could use sync
easily.

Steve

Original Message:
-----------------
From: Peter Steiner peter.steiner at hugwi.ch
Date: 	Wed, 04 Oct 2006 11:02:04 +0200
To: perforce-user at perforce.com
Subject: [p4] How to sync only files already present?


I have a rather large client where I sync only hand-picked
directories/files.

What's the best way to find out if there are newer revisions in any of
these files?

I have come up so far (on Windows with cygwin) with

p4 files #have | cut -s -d "#" -f 1 | p4 -x - sync -n 2>nul

but this takes some time. Does anybody know a simpler and/or faster way
to achieve this (command line, P4Win or P4V)?

Regards, Peter
-- 
    _   _        Peter Steiner <peter.steiner at hugwi.ch>
  / /_/ /        Hug-Witschi AG <http://www.hugwi.ch/>
 /  _  /         Electronic Engineering
/_/ /_/  _   _   Auriedstrasse 10
   / / / / / /   CH-3178 Boesingen
  / /_/ /_/ /    Tel  +41 31 740 44 44
 /_ _ _ _ _/     Fax  +41 31 740 44 45
_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




More information about the perforce-user mailing list