[p4] How to sync only files already present?
Peter Steiner
peter.steiner at hugwi.ch
Wed Oct 4 23:09:21 PDT 2006
Thanks to Shawn and Matt for their simultaneous answer with what I was
looking for.
Shawn Hladky wrote:
> Does this do what you want?
>
> p4 sync -n #have,#head
Yes, that's it. It never occurred to me that sync might take a revision
range.
Thanks!
> On 10/4/06, *Peter Steiner* <peter.steiner at hugwi.ch
> <mailto:peter.steiner at hugwi.ch> > wrote:
>
> 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