mantaFind.sizes: Recursive find tool for retrieving matching objects/subdirs...

Description Usage Arguments See Also

View source: R/mantaFind.sizes.R

Description

Searching for object or directory names with regular expressions (using R grep). File size information does not use durability calculation (i.e. file size for one copy only)

Usage

1
2
3
mantaFind.sizes(mantapath, grepfor, entries, items = "o", level = 0,
  sortby = "none", starttime, endtime, decreasing = FALSE,
  ignore.case = FALSE, perl = FALSE, verbose = FALSE, info = TRUE)

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. Ignored for reprocessed trees. Uses R regexps, N.B. use "[.]txt", not "*.txt" to match filename extensions.

entries

optional. Saved mantaFind R data. For reprocessing/reformatting retrieved R tree information saved with mantaFind(l='R')->tree.

items

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

level

integer optional. Maximum number of subdirectory child levels to visit, in other words, the depth of the hierarchical directory search. If level <= 0, search depth is unrestricted. Level parameter is ignored on reprocessed search trees.

sortby

character, optional. Specify 'none', 'name', 'time', or 'size'. Sorting selection is independent of time-bounded find.

starttime

POSIXlt time, optional. Start time for time-bounded find. When used without endtime, endtime is set to current UTC time.

endtime

POSIXlt time, optional. End time for time-bounded find. When used without starttime, starttime is set to start of Manta service

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 RCurl HTTP data output on Unix.

info

logical, optional. Console status messages about child path progress.

See Also

Other mantaFind: mantaFind.du; mantaFind.l; mantaFind.n; mantaFind.sizepath; mantaFind.url; mantaFind


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