Learn R Programming

syncdr (version 0.1.1)

directory_info: Retrieve information about files in a directory

Description

This function retrieves information about files in a specified directory

Usage

directory_info(dir, recurse = TRUE)

Value

A data frame containing detailed information about the files in the directory, including all information produced by fs::file_info().

Arguments

dir

A character string representing the path of the directory.

recurse

Logical. If TRUE, fully recurse into subdirectories. If a positive number, specifies the number of levels to recurse.