[p4] How to sync only files already present?

Peter Steiner peter.steiner at hugwi.ch
Wed Oct 4 02:02:04 PDT 2006


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


More information about the perforce-user mailing list