View source: R/FolderAndFiles.R
dirDiff | R Documentation |
Get a diff between a master and a copy directories, i.e. list files and folders that have been added, removed, sized-changed or os-modified in the last X hours.
dirDiff(master.dir, copy.dir, hours = 24, fileOnly = TRUE)
master.dir |
character string, master directory |
copy.dir |
character string, copy directory |
hours |
numeric, modificaton time span |
fileOnly |
logical, list only files or subfolders as well? |
A list with the following fields:
new, list of new files (in master but not in copy)
removed, list of removed files (in copy but not in master)
sizeChanged, list of size-changed files (in both copy and master but with different sizes)
modified, list of modified files (according to OS-specific 'time of last modif', unclear what this does exactly...)
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.