export SVN Command

How to use export SVN (Subversion) Command in Linux / Windows?

Explanation


export command is used to download a project repository in to the local computer or machine on to the specified folder or directory. The difference between checkout and export is that, export will extract all the files from a revision and does not act as working copy. If you want to have a working copy, always go for svn checkout

Usage:

svn export <url> directoryname

Example:

  • Now you can download the project to a new directory using the below command.
    svn export http://192.168.0.202/testsvn test2
    Output:-----------------------------------------------
    A testsvn
    A testsvn/test2.txt
    Exported revision 8.

    ---------------------------------------------------------

Result:


By using this cmd, all the files and directories in testsvn were downloaded into the new directory 'test2'.

Ask Questions

Ask Question