Différences entre versions de « Utilisateur:Arbg0002/brouillons/procédures »
Sauter à la navigation
Sauter à la recherche
(6 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | = List of | + | = List of procedures = |
== Synchronization of files == | == Synchronization of files == | ||
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 <code>/Data/L2</code> will be overwritten by any newer file in the other directory <code>./tempo/</code>, that is any newer file with the same name amongst <code>./tempo/*</code>. | ||
− | + | == Using GitHub == | |
+ | |||
+ | Website: [https://github.com/] | ||
+ | |||
+ | 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 |
Version actuelle datée du 12 avril 2019 à 12:38
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 ./tempo/
, that is any newer file with 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