Différences entre versions de « Utilisateur:Arbg0002/brouillons/procédures »

De POLR
Sauter à la navigation Sauter à la recherche
Ligne 5 : Ligne 5 :
 
Synchronization of files from two directories, possibly on a remote machine.
 
Synchronization of files from two directories, possibly on a remote machine.
  
* rsync takes as arguments "the list of files to be synchronized" and "the destination directory".
+
* <code>rsync</code> takes as arguments "the list of files to be synchronized" and "the destination directory".
  
* the -r flag makes it recursive
+
* the <code>-r</code> flag makes it recursive
  
 
Example :
 
Example :
  
rsync -r tempo/* /Data/L2
+
<code>rsync -r tempo/* /Data/L2</code>
 
 
 
 
All the files in directory /Data/L2 will be overwritten by any newer file in ./tempo/
 
  
 +
All the files in directory <code>/Data/L2</code> will be overwritten by any newer file in <code>./tempo/</code>
  
 
== Using GitHub ==
 
== Using GitHub ==

Version du 12 avril 2019 à 13:33

List of procedures

Synchronization of files

Synchronization of files from two directories, possibly on a remote machine.

  • rsync takes as arguments "the list of files to be synchronized" and "the destination directory".
  • the -r flag makes it recursive

Example :

rsync -r tempo/* /Data/L2

All the files in directory /Data/L2 will be overwritten by any newer file in ./tempo/

Using GitHub

Website: [1]

Example project: belasi01/Cops

  • Get a copy to modify and test privately: [Clone or download] button
  • Get a copy to modify on GitHub: [Fork] button > creates a copy on one's own GitHub page, which can be modified (commits from programming interfaces or the unix command line)
  • Request to merge the eventual modifications into the master project: [New pull request] button