mvFiles: Move a batch of files to a new directory

View source: R/mvFiles.R

mvFilesR Documentation

Move a batch of files to a new directory

Description

Originally developed to move venn diagram log output. Can be used to move any unique set of files to new directory.

Usage

mvFiles(origDir_v, newDir_v, pattern_v = "*\\.log")

Arguments

origDir_v

path to original directory containing the files

newDir_v

one of two. (1) path to new directory where files should be moved to. (2) character string of new sub-directory of origDir_v to put files into.

pattern_v

some sort of regex to uniquely identify files to move.

Value

moves files at system level


weshorton/wrh.rUtils documentation built on Oct. 28, 2024, 7:24 a.m.