| file_modified_last {fritools2} | R Documentation |
Get the File Modified Last
Description
I often look for the file modified last under some directory.
Usage
file_modified_last(...)
Arguments
... |
Arguments passed to |
Value
The path to the file last modified.
See Also
Other searching functions:
compare_vectors(),
find_files(),
fromto(),
grep_file(),
missing_docs,
search_files(),
search_rows(),
summary.filesearch()
Other file utilities:
clipboard_path(),
delete_trailing_blank_lines(),
delete_trailing_whitespace(),
develop_test(),
file_copy(),
file_save(),
find_files(),
get_lines_between_tags(),
get_mtime(),
get_unique_string(),
grep_file(),
is_files_current(),
is_path(),
paths,
search_files(),
split_code_file(),
touch()
Examples
for (suffix in c(".txt", ".ascii"))
for (f in file.path(tempdir(), letters))
touch(paste0(f, suffix))
list.files(tempdir())
file_modified_last(path = tempdir(), pattern = "\\.txt$")
dir.create(file.path(tempdir(), "new"))
touch(file.path(tempdir(), "new", "file.txt"))
file_modified_last(path = tempdir(), pattern = "\\.txt$")
file_modified_last(path = tempdir(), pattern = "\\.txt$", recursive = TRUE)
[Package fritools2 version 4.1.0 Index]