{"id":22828681,"url":"https://github.com/busterc/mvy","last_synced_at":"2026-03-09T15:02:08.680Z","repository":{"id":44370204,"uuid":"93679155","full_name":"busterc/mvy","owner":"busterc","description":":file_folder: mvy = mkdirp + mv // a cli for moving to a new directory","archived":false,"fork":false,"pushed_at":"2021-08-11T13:02:54.000Z","size":22,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T16:24:47.861Z","etag":null,"topics":["directories","files","filesystem","glob","globbing","mkdir","move"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/busterc.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":"2017-06-07T20:58:58.000Z","updated_at":"2023-09-08T17:26:05.000Z","dependencies_parsed_at":"2022-08-30T07:01:33.454Z","dependency_job_id":null,"html_url":"https://github.com/busterc/mvy","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fmvy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fmvy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fmvy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fmvy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/busterc","download_url":"https://codeload.github.com/busterc/mvy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250468844,"owners_count":21435547,"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":["directories","files","filesystem","glob","globbing","mkdir","move"],"created_at":"2024-12-12T19:11:25.193Z","updated_at":"2026-03-09T15:02:03.617Z","avatar_url":"https://github.com/busterc.png","language":"JavaScript","readme":"# mvy [![NPM version][npm-image]][npm-url]\n\n\u003e mvy = mkdirp + mv // a cli for moving to a new directory\n\n## Installation\n\n```sh\n$ npm install mvy --global\n```\n\n## Usage\n\n```sh\n\n$ mvy \u003csource\u003e ... \u003ctarget\u003e\n\n    Options\n\n      --force, -f  Overwrite existing target files\n\n```\n\n```sh\n# MAJOR KEY ALERT:\n#\n# 1. When the \u003ctarget\u003e has a trailing slash,\n#    the \u003csource\u003e will be placed inside the \u003ctarget\u003e\n#\n# 2. When both the \u003csource\u003e and \u003ctarget\u003e have trailing slashes,\n#    the *ENTIRE* \u003csource\u003e path will be appended to the \u003ctarget\u003e path\n#    and the \u003csource\u003e files will be placed inside the appended \u003ctarget\u003e path\n#\n# 3. Supports multiple sources and globs\n\n\n# move a file into a new directory\n$ mvy somewhere/exists/a.file yet/to/be/created/directory/\n# =\u003e yet/to/be/created/directory/a.file\n\n\n# move multiple files into a new directory\n$ mvy somewhere/exists/*.file yet/to/be/created/directory/\n# =\u003e yet/to/be/created/directory/a.file\n# =\u003e yet/to/be/created/directory/b.file\n\n\n# move a file into a new directory and rename the file\n$ mvy somewhere/exists/a.file yet/to/be/created/directory/b.file\n# =\u003e yet/to/be/created/directory/b.file\n\n\n# move a directory into a new directory\n$ mvy somewhere/exists yet/to/be/created/directory/\n# =\u003e yet/to/be/created/directory/exists/\n# =\u003e yet/to/be/created/directory/exists/a.file\n\n\n# move a directory into a new directory and rename the directory\n$ mvy somewhere/exists yet/to/be/created/directory\n# =\u003e yet/to/be/created/directory/\n# =\u003e yet/to/be/created/directory/a.file\n\n\n# move a directory into a new directory *APPENDING THE SOURCE PATH*\n$ mvy somewhere/exists/ yet/to/be/created/directory/\n# =\u003e yet/to/be/created/directory/somewhere/exists/\n# =\u003e yet/to/be/created/directory/somewhere/exists/a.file\n\n```\n\n## License\n\nISC © [Buster Collings](https://about.me/buster)\n\n[npm-image]: https://badge.fury.io/js/mvy.svg\n[npm-url]: https://npmjs.org/package/mvy\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusterc%2Fmvy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbusterc%2Fmvy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusterc%2Fmvy/lists"}