{"id":23593931,"url":"https://github.com/hutsoninc/move-to-range-cli","last_synced_at":"2025-11-04T14:30:41.952Z","repository":{"id":57303245,"uuid":"156736435","full_name":"hutsoninc/move-to-range-cli","owner":"hutsoninc","description":"Move files to corresponding directories given a range.","archived":false,"fork":false,"pushed_at":"2018-11-26T21:39:45.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T11:32:56.004Z","etag":null,"topics":["dir","directory","file","files","integer","move","mv","range"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hutsoninc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-08T16:30:49.000Z","updated_at":"2018-11-26T21:39:46.000Z","dependencies_parsed_at":"2022-08-29T07:10:34.169Z","dependency_job_id":null,"html_url":"https://github.com/hutsoninc/move-to-range-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutsoninc%2Fmove-to-range-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutsoninc%2Fmove-to-range-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutsoninc%2Fmove-to-range-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hutsoninc%2Fmove-to-range-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hutsoninc","download_url":"https://codeload.github.com/hutsoninc/move-to-range-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239434541,"owners_count":19637966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dir","directory","file","files","integer","move","mv","range"],"created_at":"2024-12-27T09:14:18.752Z","updated_at":"2025-11-04T14:30:41.892Z","avatar_url":"https://github.com/hutsoninc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# move-to-range-cli\n\n[![Current npm package version](https://img.shields.io/npm/v/move-to-range-cli.svg)](https://www.npmjs.com/package/move-to-range-cli) \n\nMove files to corresponding directories given a range.\n\n## Installation\n\n`npm install --global move-to-range-cli`\n\n## Usage\n\n```\n$ move-to-range --help\n\n  Move files to a range of directories.\n\n  Usage\n    $ move-to-range \u003cint\u003e-\u003cint\u003e \u003cfile-type\u003e\n  Options\n    --destination, -d  Destination for dirs\n  Example\n    $ move-to-range 1-5,7,9-10 .txt\n```\n\n```\n$ tree\n.\n├── 1.txt\n├── 2.txt\n├── 3.txt\n├── 5.txt\n├── 1\n├── 2\n├── 3\n├── 5\n│ ...\n\n$ move-to-range 1-3,5 .txt\n\n# tree\n.\n├── 1\n│   └── 1.txt\n├── 2\n│   └── 2.txt\n├── 3\n│   └── 3.txt\n├── 5\n│   └── 5.txt\n│ ...\n```\n\n### With options:\n\n```\n$ tree\n.\n├── 1.txt\n├── 2.txt\n├── 3.txt\n├── 5.txt\n├── out\n│   ├── 1\n│   ├── 2\n│   ├── 3\n│   └── 5\n│ ...\n\n$ move-to-range 1-3,5 .txt --destination out\n\n$ tree\n.\n├── out\n│   ├── 1\n│   │   └── 1.txt\n│   ├── 2\n│   │   └── 2.txt\n│   ├── 3\n│   │   └── 3.txt\n│   └── 5\n│       └── 5.txt\n│ ...\n```\n\n## Command Line/Shell Alias\n\n### Windows\n\nFollow the instructions on [this Stack Overflow answer](https://stackoverflow.com/a/21040825/8268314) to set up an alias on Windows.\n\n### UNIX\n\n```\nalias mdr=make-dir-range\n```\n\n## Related\n\n- [move-to-range](https://github.com/hutsoninc/move-to-range) - API for this module\n- [copy-to-range-cli](https://github.com/hutsoninc/copy-to-range-cli) - Copy a file to a range of directories\n- [make-dir-range-cli](https://github.com/hutsoninc/make-dir-range-cli) - Make directories from a range of integers\n\n## Authors\n\n* **Austin Gordon** - *Development* - [GitHub](https://github.com/AustinLeeGordon)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhutsoninc%2Fmove-to-range-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhutsoninc%2Fmove-to-range-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhutsoninc%2Fmove-to-range-cli/lists"}