mantaLs.url: Lists, searches, filters, sorts and formats Manta directory...

Description Usage Arguments See Also

View source: R/mantaLs.url.R

Description

Used for getting URLs for links to object in Manta ~~/public area. Searching for filenames with regular expressions (using R grep). Sorting listings by filename, time, or size.

Usage

1
2
3
mantaLs.url(mantapath, grepfor, json, items = "o", sortby = "none",
  decreasing = FALSE, ignore.case = FALSE, perl = FALSE,
  verbose = FALSE)

Arguments

mantapath

character, optional. Current subdirectory set by mantaSetwd is used, otherwise specify full Manta path to subdirectory. Supports ~~ expansion to your Manta username, e.g. "~~/public" and UTF-8 encoded characters.

grepfor

character optional. Regular expression for grep name search. Uses R regexps, N.B. use "[.]txt", not "*.txt" to match filename extensions.

json

optional. Input saved JSON data from mantaLs(format='json') used for reprocessing previously retrieved listings. Include previously specified mantapath if you wish to recover true paths.

items

character optional. 'a' for all, 'd' for directory, 'o' for object.

sortby

character, optional. Specify 'none', 'name', 'time', or 'size'.

decreasing

logical, optional. Argument passed to R order for sorting.

ignore.case

logical, optional. Argument passed to R grep for searching.

perl

logical, optional. Argument passed to R grep for searching.

verbose

logical, optional. Verbose HTTPS RCurl data output on Unix.

See Also

mantaFind.url

Other mantaLs: mantaExists; mantaLs.du; mantaLs.l; mantaLs.n; mantaLs.paths; mantaLs


joyent/mantaRSDK documentation built on May 19, 2019, 10:43 p.m.