sync_server_local: sync_server_local Standalone function to Download/Upload...

View source: R/sync_server_local.R

sync_server_localR Documentation

sync_server_local Standalone function to Download/Upload files from server to local folder or vice-versa

Description

sync_server_local Standalone function to Download/Upload files from server to local folder or vice-versa

Usage

sync_server_local(
  server_folder,
  local_folder,
  direction,
  only_test = TRUE,
  exclude_csv = FALSE,
  delete_nonexistent = FALSE,
  ignore_existing = FALSE,
  dont_ask = FALSE,
  all_messages = TRUE,
  credentials_file = NULL
)

Arguments

server_folder

server folder

local_folder

local folder

direction

should be either 'server_to_local' or 'local_to_server'

only_test

TRUE/FALSE

exclude_csv

DO NOT INCLUDE DATA

delete_nonexistent

Delete files locally if they are NOT in server anymore

ignore_existing

If TRUE, does not overwrite existing files even if they are newer. Good for .data/, Bad for rest

dont_ask

For the initial setup, do not ask and proceed! DANGER

all_messages

show all messages

credentials_file

Path to .credentials file. Usually: .vault/.credentials

Value

Sync folders


gorkang/jsPsychHelpeR documentation built on Oct. 15, 2024, 8 a.m.