file.backup: Backup given file

View source: R/file.R

file.backupR Documentation

Backup given file

Description

Make backup of the given file in backup directory

Usage

file.backup(
  filepath,
  backup = "bak",
  backup.dir = NULL,
  timeformat = "%y%m%d_%H%M%S_"
)

Arguments

filepath

file path (character)

backup

backup directory name; ignored if backup.dir is defined.

backup.dir

backup directory path; default is the same directory of given file.

timeformat

set backup head name.

Value

filepath


hmito/hmRLib documentation built on March 13, 2024, 9:41 p.m.