enqueue: Add a file or folder to the server queue.

View source: R/enqueue.R

enqueueR Documentation

Add a file or folder to the server queue.

Description

Add a file or folder to the server queue.

Usage

enqueue(path, part1, ...)

Arguments

path

the full path to the file or directory.

part1

if present, a string to add to the name of the new path.

...

if present, additional strings to add to the name of the new path.

Details

Items specified in part1 and ... are appended to the path, separated by MOTUS_QUEUE_SEP (defaults to ',').

After this call, the file or directory will no longer exist at the same location, but will be moved into the server's incoming directory. Also, the path to the item's new location will be appended to the global variable MOTUS_QUEUE.

Value

the new value of MOTUS_QUEUE (invisibly).

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm

See Also

server

Examples

## Not run:
enqueue("/tmp/mytmpurlfile")


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