I used the following switch
-skip:objectname='filePath',absolutepath='logs\\.*\\someNameToExclude\.txt'
to skip certain files when deploying from commandline (I used sync verb)
Update As mentioned by msuhash - complete command-line reference can be found on technet (see skip setting).