inventory_transfer: Copy all files listed in the inventory to the specified...

Description Usage Arguments

View source: R/inventory.R

Description

Copy all files listed in the inventory to the specified target location.

Usage

1
2
3
4
5
6
inventory_transfer(
  inv_location = NULL,
  target_location,
  overwrite = F,
  verbose = F
)

Arguments

inv_location

Where to look for the inventory.

target_location

The stuff gets put in <target_location>/inventory. To avoid copying ridiculous long file paths, files are renamed as "tag.ext" so that the new filename is the tag but the old extension (anything after the last period) is preserved. For folders or for files with no '.' in the name, only the tag is used.

overwrite

Passed to file.copy and also checked before (over)writing the new .inventory.txt file.

verbose

Print paths as files get copied?


ekernf01/freezr documentation built on Feb. 8, 2022, 5:22 a.m.