reorger

Crates.ioreorger
lib.rsreorger
version0.5.2
sourcesrc
created_at2020-09-27 00:32:12.023219
updated_at2020-09-27 03:41:10.39343
descriptionA tool for reorganizing a large number of files by splitting and unsplitting files into subdirectories
homepage
repository
max_upload_size
id293287
size15,279
Grayson (graysonarts)

documentation

README

reorger

A small collection of tools for manipulating large collections of files. Most of these were written to help deal with image data sets for Machine Learning.

  • split - Takes a glob pattern in the current directory and creates batches of 1000 files that match the glob pattern into subdirectories.
  • unsplit - Reverts the split command by looking into all directories (with no further depth traversal) and moves them into the current directory. If a directory that is traversed ends up being empty, it will be removed.
  • sample - Copies every n^th file that matches a glob pattern from the current directory into a new directory.
Commit count: 0

cargo fmt