This shows you the differences between two versions of the page.
| informatique:logiciels:rclone [2026/05/19 15:10] – created yahiko | informatique:logiciels:rclone [2026/05/19 15:13] (current) – yahiko | ||
|---|---|---|---|
| Line 53: | Line 53: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | |||
| + | ==== Script batch ==== | ||
| + | |||
| + | Un petit script batch pour effectuer une copie : | ||
| + | |||
| + | <code batch> | ||
| + | REM Où est installé Rclone | ||
| + | SET rclone_folder=" | ||
| + | REM Nom du remote configuré | ||
| + | SET remote=remote | ||
| + | REM Chemin local | ||
| + | SET local_path=" | ||
| + | |||
| + | cd %rclone_folder% | ||
| + | |||
| + | REM Dé-commenter l' | ||
| + | REM Source vers remote | ||
| + | REM rclone copy %local_path% %remote%: | ||
| + | |||
| + | REM Remote vers destination | ||
| + | REM rclone copy %remote%: | ||
| + | |||
| + | pause | ||
| + | </ | ||