Perforce Cookbook
Syncing a repo from the command line
2014.1 Command Reference: Sync
At the command prompt make sure you're at the root of the client repo.
p4 -H beckster -p 1666 -u ali -c web-damien sync
-HHost-pPort (1666 is the default)-uUser-cclient