sort_files_by_date: Sort file list based on their date attributes

View source: R/sort_files_by_date.R

sort_files_by_dateR Documentation

Sort file list based on their date attributes

Description

Sort file list based on their date attributes

Usage

sort_files_by_date(
  file_names,
  n_return = "all",
  date_sort = "mtime",
  return_what = "paths"
)

Arguments

file_names

A character vector of fully expanded file paths (not a list)

n_return

The number of files to be returned or "all" of them

date_sort

Which file date property should be used for sorting?

return_what

What should the output format be, a vector of "paths" or a "table" of files and their attributes?

Value

A list of fully expanded file paths or a table of sorts files names with their attributes


cmstillwell/UWparserrr documentation built on Nov. 11, 2024, 10:38 p.m.