Description Usage Arguments Value
View source: R/utility_functions.R
Create a mirror image of a directory. Files will be removed if they are not present in the source directory.
1 2 3 4 5 6 | sync_directory(
source,
destination,
ignore = c("Customer_Success/Input_Data/Software_Downloads_Raw"),
delete = FALSE
)
|
source |
A character string representing the path of the source directory. |
destination |
A character string representing the path of the destination directory. Default: Customer_Success/Input_Data/Software_Downloads_Raw. |
ignore |
A character vector representing the directory paths to ignore. Default: c("Customer_Success/Input_Data/Software_Downloads_Raw"). |
delete |
A logical value representing whether to delete files/folders absent in source directory. Default is FALSE. |
A logical value TRUE if the operation is successful.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.