stage_files: Stage files from one dir to another.

View source: R/filenames.R

stage_filesR Documentation

Stage files from one dir to another.

Description

On the biowulf system, the data disk is very slow for constant IO. You will want to stage the data from the data disk to the local scratch disk.

Usage

stage_files(fromDir, toDir, mangle = FALSE, pattern, f0 = 0, f1, ...)

Arguments

fromDir

directory you are copying data from

toDir

directory where the data is going to

mangle

should the filenames be mangled while staging the files?

pattern

(optional) pattern used to select files to stage see list.files()

f0

(optional) the starting file index, if you only want to copy a subset of the file (e.g. from file 3 to file 7). By default is 0.

f1

(optional) the ending file index, if you only want to copy a subset of the file.

...

parameters passed to file.copy


episphere/biowR documentation built on Dec. 6, 2023, 1:44 a.m.