{"id":25056574,"url":"https://github.com/agvxov/vimdir","last_synced_at":"2026-04-29T13:31:28.830Z","repository":{"id":274523331,"uuid":"922493781","full_name":"agvxov/vimdir","owner":"agvxov","description":"VIDIR iMproved. Edit directories and filenames.","archived":false,"fork":false,"pushed_at":"2025-03-02T13:10:39.000Z","size":84,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T09:16:49.171Z","etag":null,"topics":["c","vidir","vim"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agvxov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-26T11:19:34.000Z","updated_at":"2025-03-02T13:10:42.000Z","dependencies_parsed_at":"2025-01-27T20:40:34.862Z","dependency_job_id":"55c04540-86c6-4e61-922a-c21f7a0fe7cf","html_url":"https://github.com/agvxov/vimdir","commit_stats":null,"previous_names":["agvxov/vimdir"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agvxov/vimdir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agvxov%2Fvimdir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agvxov%2Fvimdir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agvxov%2Fvimdir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agvxov%2Fvimdir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agvxov","download_url":"https://codeload.github.com/agvxov/vimdir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agvxov%2Fvimdir/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259998397,"owners_count":22943806,"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":["c","vidir","vim"],"created_at":"2025-02-06T13:33:54.856Z","updated_at":"2026-04-29T13:31:23.806Z","avatar_url":"https://github.com/agvxov.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vimdir\n\u003e VIDIR iMproved; edit directories and filenames\n\n## SYNOPSIS\n**vidir** **[***options***]** **[**directory**]**\n\n## DESCRIPTION\nVimdir allows editing of directories and filenames in a text editor.\nIf no directory is specified, the filenames of the current directory are edited.\n\nVimdir is an extended reimplementation of *vidir(1)*.\n\n## OPTIONS\n**-h**\n: Print help and exit.\n\n**-n**\n: Dry run.\nDo not modify any files, only print what would have happened.\n\n**-p**\n: Edit permissions.\nPermissions will be prepended in human readable form (similar to ls) to each entry.\nModifying this field results in a (non-recursive) chmod.\n\n**-o**\n: Edit owner.\nThe owner and group will be prepended in human readable form to each entry.\nModifying this field results in a (non-recursive) chown.\n\n**-r**\n: Run recursively.\nEach child folder's contents will be listed with their full path.\nMight slow things down as the whole document has to be constructed\nbefore opening the editor is possible.\nDeleting a directory will delete all of its children.\nDeleting a directory and modifying a child afterwards will throw an error.\nModifying a child and deleting the parent in some line underneath is valid.\n\n## ENTRIES\nThe abstract name of the format Vimdir operates on is \"entry\".\nEach entry takes up exactly one line.\nVimdir will output an entry corresponding to every file\nand will process every entry as a command (nop included).\n\nThe following is the format of an entry. The concrete syntax is command line flag dependent.\n\n    \u003cid\u003e [permissions] [\u003cowner\u003e:group] \u003cname\u003e\n\n## OPERATIONS\nChanging a field will manupulate the file (e.g. renaming, chmod, chown).\n\nSwapping the names of files is allowed and should be handed correctly.\n\nDeleting a line will delete the file.\n\nDuplicating a line and changing the name will copy the file.\n\n## COLORS\nVimdir uses the extension `.vimdir` for entry files,\nthis can be used to recognize them in your editor.\n\nA Vim syntax file should be packaged with Vimdir.\nIt is recommended to use it.\n\nIf you are interested in generating your highlighting dynamically and based on **$LS_COLORS**,\nyou might be interested in this:\n[https://github.com/trapd00r/vim-syntax-vidir-ls](https://github.com/trapd00r/vim-syntax-vidir-ls).\n\n## ENVIRONMENT\n\n**VIMDIREDITOR**\nPreferred editor to use.\n\n**EDITOR**\nEditor to use.\n\n**VIMDIRRM**\n`rm` alternative to use.\nSet this to an appropriate executable to have move-to-trash behaviour on delete.\n\n**NO_COLOR**\nAccording to the no-color convention,\nif this variable is set and is not empty,\nno colors will be printed.\n\n## NOTES\nThe default editor is *Vi*.\n\nVimdir will terminate at the first sign of an error,\nbut it has no way to roll-back your filesystem,\nso be careful.\n\nIf Vimdir fails, the directive file is preserved and its path is returned to the user.\n\nYou will not be able to manage files which have tab or newline characters in their names.\nIf you have aforementioned files, please seek the help of a specialist.\n\nThe first character of the permission string is simply informative,\nits (changed) value is ignored.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagvxov%2Fvimdir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagvxov%2Fvimdir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagvxov%2Fvimdir/lists"}