Gather last updated times for on-disk files
last_updated.Rd
Check the last modified time files or paths
Arguments
- x
(chr)
file path to check last updated time- path
(lgl)
whether x is a path and all files should be checked- ...
Arguments passed on to
base::list.files
pattern
an optional regular expression. Only file names which match the regular expression will be returned.
all.files
a logical value. If
FALSE
, only the names of visible files are returned (following Unix-style visibility, that is files whose name does not start with a dot). IfTRUE
, all file names will be returned.full.names
a logical value. If
TRUE
, the directory path is prepended to the file names to give a relative file path. IfFALSE
, the file names (rather than paths) are returned.recursive
logical. Should the listing recurse into directories?
ignore.case
logical. Should pattern-matching be case-insensitive?
include.dirs
logical. Should subdirectory names be included in recursive listings? (They always are in non-recursive ones).
no..
logical. Should both
"."
and".."
be excluded also from non-recursive listings?
See also
Other file IO:
col_types()
,
dep_read()
,
dep_write()
,
dir_fn()
,
dirs
,
ext()
,
file_fn()
,
is_filepath()
,
list.files2()
,
load_obj()
,
make_names()
,
mkpath()
,
move_files_to_folder()
,
needs_update()
,
object_fn()
,
object_write()
,
package_size()
,
write_dir_fn()
,
write_lines()