{"id":16001463,"url":"https://github.com/pbrisbin/edir","last_synced_at":"2026-06-12T06:30:17.506Z","repository":{"id":7557201,"uuid":"8910549","full_name":"pbrisbin/edir","owner":"pbrisbin","description":"Edit a directory","archived":false,"fork":false,"pushed_at":"2013-03-20T17:45:51.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T16:44:20.468Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/pbrisbin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-20T17:45:29.000Z","updated_at":"2013-12-26T08:34:18.000Z","dependencies_parsed_at":"2022-09-01T18:30:46.014Z","dependency_job_id":null,"html_url":"https://github.com/pbrisbin/edir","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/pbrisbin%2Fedir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbrisbin%2Fedir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbrisbin%2Fedir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbrisbin%2Fedir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pbrisbin","download_url":"https://codeload.github.com/pbrisbin/edir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240229972,"owners_count":19768597,"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":[],"created_at":"2024-10-08T09:43:29.525Z","updated_at":"2026-06-12T06:30:17.449Z","avatar_url":"https://github.com/pbrisbin.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edir\n\nEasily \"edit\" a directory in your editor.\n\n## Installation\n\n~~~\n$ git clone ...\n$ bundle\n$ rake install\n~~~\n\n## Usage\n\n~~~\n$ edir\n~~~\n\nPresents an `ls` listing of the current directory in your `$EDITOR`. You \ncan then edit this listing to what you want the directory contents to \nlook like and save. Then, `edir` will use the differences to make those \nchanges.\n\n* Remove lines and those files will be deleted\n* Change a line's filename to rename that file\n* Duplicate a line and change its name to copy that file\n\n## WARNING\n\nThis is a **prototype**. I take no responsibility if it deletes files \nunexpectedly.\n\n## Existing tools\n\nI'm pretty sure there are already editor-specific plugins that do this \nand then some. Vim's own file explore has a few commands to manipulate \nthe file under cursor. However, I'm not sure of anything that provides \nthis functionality in an editor-agnostic way. Regardless, it was (and \nis) fun to hack on.\n\n## Upcoming\n\n* Ability to pass additional options to the `ls` command\n* See edits to permissions and ownership fields and execute the proper \n  `chmod` or `chown` commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbrisbin%2Fedir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpbrisbin%2Fedir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbrisbin%2Fedir/lists"}