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

Description Usage Arguments See Also

View source: R/mantaLs.l.R

Description

Used for listing Manta subdirectory. Uses current working Manta directory or one supplied in mantapath. Searches for filenames with regular expressions (using R grep). Sorts listings by filename, time, or size.

Usage

1
2
3
mantaLs.l(mantapath, grepfor, json, items = "a", 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.l

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


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