- left_path
Path to the left/first directory.
- right_path
Path to the right/second directory.
- sync_status
Object of class "syncdr_status", output of compare_directories().
- by_date
logical, TRUE by default
- by_content
logical, FALSE by default
- recurse
logical, TRUE by default.
If recurse is TRUE: when copying a file from source folder to destination folder, the file will be copied into the corresponding (sub)directory.
If the sub(directory) where the file is located does not exist in destination folder (or you are not sure), set recurse to FALSE,
and the file will be copied at the top level
- force
Logical. If TRUE (by default), directly perform synchronization of the directories.
If FALSE, displays a preview of actions and prompts the user for confirmation before proceeding. Synchronization is aborted if the user does not agree.
- backup
Logical. If TRUE, creates a backup of the right directory before synchronization. The backup is stored in the location specified by backup_dir.
- backup_dir
Path to the directory where the backup of the original right directory will be stored. If not specified, the backup is stored in temporary directory (tempdir).
- verbose
logical. If TRUE, display directory tree before and after synchronization. Default is FALSE