View source: R/drive_copy_missing_files.R
drive_copy_missing_files | R Documentation |
Copy files missing AND folders from one Google Drive (web) folder to another
drive_copy_missing_files(
from_dir,
to_dir,
ignore = c(".git", ".github", ".Rproj.user", ".RData", ".Rhistory"),
prompt_user = TRUE,
try_harder = TRUE,
share_anyone = FALSE,
...
)
from_dir |
Source directory path |
to_dir |
What's the path to the new (clone) directory? Must be a string path for |
ignore |
Folders to ignore; default= c(".git", ".github", ".Rproj.user",".RData",".Rhistory") |
prompt_user |
prompt user to continue? default=T; set to F for recursive calls |
try_harder |
do you want copy functions to try again if copying fails? Passed to |
share_anyone |
do you want copied files to be viewable by anyone with the link? Default=FALSE |
... |
Pass other parameters to |
Helps with a partial project clone (i.e. if not all files are backed up on GitHub, but they are on GDrive). Makes use of our function drive_cp_dir()
to copy folders.
Dribble of the cloned folder
Other Google Drive Functions:
drive_contents()
,
drive_cp_dir()
,
drive_find_path()
,
drive_get_info()
,
drive_inSync()
,
drive_new_from_template()
,
drive_open()
,
init_lesson_meta()
,
update_teach_links()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.