User Tools

Site Tools


sourceforge:rsync

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sourceforge:rsync [2018/04/21 18:44]
karl Fix internal links for arch and maps
sourceforge:rsync [2018/04/23 19:30] (current)
karl Add svnroot
Line 1: Line 1:
 ====== Rsync ====== ====== Rsync ======
  
-The usual way to download the crossfire code on sourceforge is by using [[:​sourceforge:​svn|svn]] .\\ +The usual way to download the crossfire code on sourceforge is by using [[:​sourceforge:​svn]] .\\ 
-This is described [[:​downloading|here]] .+That is described ​on the [[:​downloading]] ​page.
  
-I found outthat downloading ​the code can be done by rsync, too.+It is possibleto download ​the code by rsync, too. 
 +<​code>​ 
 +rsync -a -v a.svn.sourceforge.net::​svnroot/​crossfire/​$DIRECTORY 
 +</​code>​ The above shell code would list the files. 
 + 
 +<​code>​ 
 +mkdir -p ./NewDir/ 
 +rsync -a -v a.svn.sourceforge.net::​svnroot/​crossfire/​$DIRECTOTY ./NewDir/ 
 +</​code>​  
 +The above shell code would download the files into ./NewDir/ directory. 
 + 
 +**DIRECTORY** would be the usual [[:arch:]], [[:maps:]], [[:​client]],​ [[:​server]],​ et cetera. 
 + 
 + 
 +---- 
 + 
 +And for the older [[cvs]] repository:
 <​code>​ <​code>​
 rsync -a -v a.cvs.sourceforge.net::​cvsroot/​crossfire/​$MODULENAME rsync -a -v a.cvs.sourceforge.net::​cvsroot/​crossfire/​$MODULENAME
Line 14: Line 30:
 </​code>​ The above shell code would download the files into ./NewDir/ directory. </​code>​ The above shell code would download the files into ./NewDir/ directory.
  
-**MODULENAME** would be the usual [[:arch:]], [[:maps:]], [[:​client]], ​[[:server]], et cetera.+**MODULENAME** would be the usual [[:arch:]], [[:maps:]], [[:​client]], ​crossfire, et cetera.
  
 A short test for the /sounds/ directory worked for me. A short test for the /sounds/ directory worked for me.
 It downloaded mainly `,v' archive files, which need to be checked out using [[https://​www.gnu.org/​software/​rcs|rcs]] . It downloaded mainly `,v' archive files, which need to be checked out using [[https://​www.gnu.org/​software/​rcs|rcs]] .
sourceforge/rsync.txt · Last modified: 2018/04/23 19:30 by karl