sbf_archive_main: Archive Main Folder

View source: R/archive.R

sbf_archive_mainR Documentation

Archive Main Folder

Description

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

Other archive: sbf_get_archive(), sbf_unarchive_main()

Other housekeeping functions: sbf_rm_flobs(), sbf_rm_main(), sbf_unarchive_main()


poissonconsulting/subfoldr2 documentation built on Nov. 1, 2024, 9:10 p.m.