drive_move | R Documentation |
a shallow wrapper for googledrive::drive_mv()
that adds a parameter to leave behind a shortcut of the moved file
drive_move(
from,
to,
name = NULL,
shortcut_name = NULL,
drop_shortcut = FALSE,
make_public = FALSE,
prompt_user = TRUE
)
from |
source item; a path fed into |
to |
new location; a path fed into |
name |
new name after move— passed to |
shortcut_name |
basis of the shortcut name. e.g. if "teaching-materials" supplied, the shortcut will be called "teaching-materials Shortcut"; default=NULL means it will be the name derived from the original 'from' path + "Shortcut" |
drop_shortcut |
logical; if TRUE, will drop a shortcut to the moved file in the parent of the from directory; default=FALSE |
make_public |
after move; do you want this object to be viewable to anyone with the link? default=F |
prompt_user |
logical; adds a confirmation step before moving something; default = TRUE |
tibble of success, to and from paths and IDs To' dribble should be exactly 1 row
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.