Skip to content

Flatten a directory structure to a single folder, renaming any duplicate files accordingly

Notifications You must be signed in to change notification settings

Creodahn/flatten-directory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Flatten Directory structure

This script allows you to move all files in a directory structure into a single target directory.

Installation

Run npm install to install all dependencies

Use

node index.js --src=<source_directory> --trg=<target_directory> --clbr

  • Clobbering: if the clbr is present, the script will automatically overwrite any existing files in the target directory with the same name as a file being moved from the source directory

About

Flatten a directory structure to a single folder, renaming any duplicate files accordingly

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published