R/v2_copydirtree.R

# # new directory to store shallow water rasters
# copy.dir.tree <- function (from, to){
#   # to = full path to copy the structure to, it will create the directory as well
#   # from = full path to copy the structure from
#   directory <- to
#   dir.create(directory)
#   p <- from
#   dir_l <- list.dirs(p,recursive=TRUE, full.names=FALSE) # list tiles
# 
#   lapply(dir_l[2:length(dir_l)], function(x) dir.create(paste0(directory,x)))
# }

Try the tabs package in your browser

Any scripts or data that you put into this service are public.

tabs documentation built on April 4, 2025, 2:37 a.m.