Différences entre versions de « Utilisateur:Arbg0002/brouillons/procédures »
Sauter à la navigation
Sauter à la recherche
Ligne 13 : | Ligne 13 : | ||
<code>rsync -r tempo/* /Data/L2</code> | <code>rsync -r tempo/* /Data/L2</code> | ||
− | All the files in directory <code>/Data/L2</code> will be overwritten by any newer file in <code>./tempo/</code> | + | All the files in directory <code>/Data/L2</code> will be overwritten by any newer file in the other directory, that is any of the same name amongst <code>./tempo/*</code> |
== Using GitHub == | == Using GitHub == |
Version du 12 avril 2019 à 12:34
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 the other directory, that is any of the same name amongst ./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