toTrash: send files to the trash folder for eventual deletion

Description Usage Arguments Details Value Author(s)

View source: R/toTrash.R

Description

We keep all "disposable" files in one folder, with a subfolder hierarchy based on job ID. They are retained there until we can verify they are no longer needed. A monthly cron job reaps the oldest files.

Usage

1
toTrash(f, j)

Arguments

f

character vector of full paths to files

j

integer scalar jobID

Details

MOTUS_PATH$TRASH.

Value

TRUE

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.