Differences
This shows you the differences between the selected revisions of the page.
task_synchronize_full 2025-09-15 00:11 | task_synchronize_full 2025-09-15 08:10 (current) | ||
Line 24: | Line 24: | ||
There are three modes of synchronization. | There are three modes of synchronization. | ||
- | With //**Synchronize** files// mode, files that are newer in a source directory than in a target directory are transferred to the target directory. Files in the source directory not present in the target directory are by default transferred as well (disable this using the option //Existing files only//). Files in the target directory not present in the source directory can optionally be deleted (enable option //Delete files//). | + | With //Synchronize files// mode, files that are newer in a source directory than in a target directory are transferred to the target directory. Files in the source directory not present in the target directory are by default transferred as well (disable this using the option //Existing files only//). Files in the target directory not present in the source directory can optionally be deleted (enable option //Delete files//). In //Both// mode (see above), files not present in the opposite directory are considered new, hence they are transferred (unless //Existing files only// is enabled), but never deleted. In other words, in //Both// mode, no file is ever deleted. |
- | ·With //**Both**// mode (see above), files not present in the opposite directory are considered new, hence they are transferred (unless //Existing files only// is enabled), but never deleted. In other words, in //Both// mode, no file is ever deleted. | + | With //Mirror files// mode, different (both newer and older) files in the source directory are transferred to the target directory. Otherwise the mode is the same as //Synchronize files//. |
- | + | ||
- | With //**Mirror** files// mode, different (both newer and older) files in the source directory are transferred to the target directory. Otherwise the mode is the same as //Synchronize files//. | + | |
With //Synchronize timestamps// mode, timestamps of target files are updated to match timestamps of source files. It will not do any transfers, nor delete anything. Simply, whenever it finds the same file in both directories, it updates a timestamp of a target file to match the one of a source file. In //Both// mode, it always updates the older timestamp. The mode is available with [[sftp|SFTP protocol]] only. | With //Synchronize timestamps// mode, timestamps of target files are updated to match timestamps of source files. It will not do any transfers, nor delete anything. Simply, whenever it finds the same file in both directories, it updates a timestamp of a target file to match the one of a source file. In //Both// mode, it always updates the older timestamp. The mode is available with [[sftp|SFTP protocol]] only. |