moveDirContents: Move the contents of a directory to another directory.

View source: R/moveDirContents.R

moveDirContentsR Documentation

Move the contents of a directory to another directory.

Description

Move the contents of a directory to another directory.

Usage

moveDirContents(src, dst)

Arguments

src

character scalar; path to source directory

dst

path to target folder

Details

All files and sub-directories are moved.

Value

a boolean vector of the same length as list.files(src, all.files=TRUE, recursive=FALSE, no..=TRUE, include.dirs=TRUE), with TRUE entries corresponding to files moved successfully.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


MotusWTS/motusServer documentation built on Oct. 13, 2024, 7:31 p.m.