Exclude subdirectory from remote server path

Does anybody know whether it is possible to exclude a sub directory from the remote path when using the publishing tool?