Lets assume a project committer wants to import a new set of files located in a local directory into a remote Subversion repository. Assuming this repository has been laid out according to the recommendations in How to Organize a Subversion Repository, the following command could be used to import the files from the local directory /home/kaz/myproject into the remote Subversion repository called FOO. Within the FOO repository, the files would be imported into the project1/trunk directory (which already exists). Note: this command would not import the top-level directory myproject, only the contents of that directory are imported into project1/trunk of the FOO repository:

svn import \
     /home/kaz/myproject \
     svn+ssh://svn.FOO.codehaus.org/home/projects/FOO/scm/project1/trunk