Description Usage Arguments Value Author(s) See Also Examples
This is a function that is useful for identifying large files
in a hierarchy of directories. This can recursively process
directories and return a data frame with information about the
num
largest files.
One can exclude certain files (including directories)
by using pattern matching on the names
1 |
dir |
character, the top-level directory in which to find large files |
recursive |
a logical value indicating whether to process sub-directories or not. |
num |
the maximum number of files to return in the result. |
maxDepth |
a non-negative integer indicating how many
sub-directories deep we should process. This is only used when
|
excludePattern |
a regular expression passed to
|
files |
a character vector naming the top-level files to process. This is typically not specified by the caller. However, one can specify a subset of the files in the top-level directory, e.g. to exclude certain directories (or even files). |
A data frame similar to file.info
with the largest files.
Duncan Temple Lang
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.