Description Usage Arguments Value Examples
Compare the md5sum of files in folder 1 and folder2
1 | comparemd5sum(folder1, folder2)
|
folder1 |
character path to a folder |
folder2 |
character path to a folder |
a data frame containing file names and a md5equal column which is TRUE if md5sums are equal for the given file and FALSE otherwise.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# This example compares files in 2 folders downloaded at one month interval
# From the [MOST_RECENT_COMEXT_DATA] folder in the Comext bulk data repository
# Note, since February 2018 the folder doesn't exist anymore on Comext
# use the pattern format(Sys.Date(),"\[%Y") instead
dtf <- comparemd5sum("/tmp/comext/201706/data","/tmp/comext/201707/data")
dtf$md5equal
# Comparing a folder with itself obvisouly returns TRUE
obviously <- comparemd5sum("/tmp/comext/201706/data","/tmp/comext/201706/data")
obviously$md5equal
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.