Version francaise | English version
Un petit script python pour cloner un répertoire et son contenu de maniere recursive.
Le dossier source et son contenu seront copie dans le dossier destination de maniere recursive en supprimant les fichiers existants dans le dossier destination.
- Telecharger le projet en selectionnant la "release" la plus recente dans la section "Releases"
- Extraire le contenu du fichier ZIP
- Telecharger le projet en cliquant sur le bouton vert "Code" puis "Download ZIP"
- Extraire le contenu du fichier ZIP
- Installer les dependances avec la commande
pip install -r requirements.txt
- Lancez le script avec la commande
python main.py
- Lors de la premiere execution, un fichier "config.ini" sera cree.
- Modifier le fichier "config.ini" pour y ajouter les chemins du dossiers a cloner et du dossier de destination. ("source" et "destination")
- Relancer le script
Le fichier "config.ini" contient les informations suivantes:
- source: Chemin du dossier a cloner
- destination: Chemin du dossier de destination
- shutil
- configparser
Ce projet est sous license MIT
A small python script to clone a directory and its content recursively.
The source directory and its content will be copied to the destination directory recursively by deleting existing files in the destination directory.
- Download the project by clicking on the green button "Code" then "Download ZIP"
- Extract the content of the ZIP file
- Go to the "dist" folder then run the "main.exe" file
- On the first run, a "config.ini" file will be created.
- Modify the "config.ini" file to add the paths of the folders to be cloned and the destination folder. ("source" and "destination")
- Restart the "main.exe" file
- Download the project by clicking on the green button "Code" then "Download ZIP"
- Extract the content of the ZIP file
- Install the dependencies with the command
pip install -r requirements.txt
- Run the script with the command
python main.py
- On the first run, a "config.ini" file will be created.
- Modify the "config.ini" file to add the paths of the folders to be cloned and the destination folder. ("source" and "destination")
- Restart the script
The "config.ini" file contains the following information:
- source: Path of the folder to be cloned
- destination: Path of the destination folder
- shutil
- configparser
This project is under the MIT license