Skip to contents

Archives main folder by copy to a director of the same name with the current date and time appended.

Usage

sbf_archive_main(
  main = sbf_get_main(),
  ask = getOption("sbf.ask", TRUE),
  tz = dtt_default_tz()
)

Arguments

main

A string specifying the path to the main folder (by default the current main folder)

ask

A flag specifying whether to ask before removing the existing folder.

tz

A string specifying the time zone for the current date and time.

Value

An invisible string of the path to the archived folder.

See also