transferScanFiles: Transfer files from all subfolders to analogous subfolders

View source: R/manageScans.R

transferScanFilesR Documentation

Transfer files from all subfolders to analogous subfolders

Description

This function will user the transferFiles function to go through all subfolders of the selected folder and transfer files not in one folder to the other

Usage

transferScanFiles(from, to, askBeforeContinue = TRUE)

Arguments

from

path to a folder whose subfolders you want checked, (e.g. "C:/cg2015scans" or "I:/Departments/Research/EchinaceaCG2015/cg2015scans")

to

the drive on which the wanted folder is found (e.g. "F:/", "D:/", or "I:/Departments/Research/EchinaceaCG2015/")

askBeforeContinue

logical: should a message be printed before continuing to check other subfolders

Details

Works from any from and any to as long as the name of the from folder ends with "cgXXXXscans" where XXXX is a number

Examples

## Not run: 
path1 <- "C:/cg2014scans"
pathos <- "E:/"
transferScanFiles(pathos, path)
## End(Not run)


stuartWagenius/echinaceaLab documentation built on April 13, 2025, 5:22 a.m.