compare_folders: Compare the files in two folders

Description Usage Arguments Details Value

View source: R/fiderent.R

Description

Compares whether the content of the files in two directory are identical. This can be useful when you cannot rely on the timestamps or the size of the files to know if their contents have changed.

Usage

1
compare_folders(path_1, path_2, ...)

Arguments

path_1

path of the first folder to compare

path_2

path of the second folder to compare

...

additional arguments to be passed to fs::dir_ls (see details)

Details

By default, to compare the content of the files, the following arguments are passed to fs::dir_ls:

Files that are only found in one folder will have NA in the identical column.

Value

a tibble with 4 columns:


fmichonneau/fiderent documentation built on Sept. 29, 2020, 12:48 a.m.