https://github.com/dbernheisel/batch-folders
https://github.com/dbernheisel/batch-folders
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dbernheisel/batch-folders
- Owner: dbernheisel
- Created: 2015-08-23T23:45:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-04T15:22:28.000Z (over 9 years ago)
- Last Synced: 2025-01-23T01:31:23.126Z (about 1 year ago)
- Language: Ruby
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Move a batch of files into folders
==============
This program accepts a file path and a number of your choice for how many
files to split into folders.
eg: If you have 1000 files and need 100 files per folder, then enter 100 as
the number, and this program will create 10 folders and move 100 files into
each.
# Usage
At the command line, execute the script with an optional 2 arguments. If the arguments are not provided, the script will prompt you to provide them.
```bash
./batch-folders.rb path/to/folder 10
```