toTrash: send files to the trash folder for eventual deletion

View source: R/toTrash.R

toTrashR Documentation

send files to the trash folder for eventual deletion

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

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


MotusWTS/motusServer documentation built on Aug. 8, 2024, 10:23 p.m.