split_folder: Split folder

View source: R/split_folder.R

split_folderR Documentation

Split folder

Description

Function to split folder by size or number of elements

Usage

split_folder(
  folder,
  export,
  units = "megas",
  size = 500,
  zip = TRUE,
  remove = FALSE
)

Arguments

folder

Path of folder to split (path).

export

Path to export the split folders (path).

units

Units to split folder (string: "megas", "number").

size

Folder size by the units selected (numeric).

zip

Zip split folders (logical).

remove

Remove the split folder after zip (logical).

Value

zip files

Examples


## Not run: 

split_folder("pictures/QUINOA 2018-2019 SC SEEDS EDWIN - CAMACANI/"
   , "pictures/split_num", remove = T, size = 400, units = "number")


## End(Not run)


inti documentation built on Oct. 27, 2023, 9:06 a.m.