{"id":22305656,"url":"https://github.com/kioubit/chownshift","last_synced_at":"2025-03-26T00:46:31.162Z","repository":{"id":172439450,"uuid":"548367886","full_name":"Kioubit/chownshift","owner":"Kioubit","description":"Shift UIDs,GIDs of directories or files by a specified amount","archived":false,"fork":false,"pushed_at":"2022-10-09T15:12:44.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T21:33:54.435Z","etag":null,"topics":["chown","linux-shell","lxc","lxc-containers"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kioubit.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-09T12:30:50.000Z","updated_at":"2022-10-09T12:41:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"e247a198-2d30-4f55-b5f3-7f5321f1a6ce","html_url":"https://github.com/Kioubit/chownshift","commit_stats":null,"previous_names":["kioubit/chownshift"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kioubit%2Fchownshift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kioubit%2Fchownshift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kioubit%2Fchownshift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kioubit%2Fchownshift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kioubit","download_url":"https://codeload.github.com/Kioubit/chownshift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245568584,"owners_count":20636803,"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":["chown","linux-shell","lxc","lxc-containers"],"created_at":"2024-12-03T19:12:37.620Z","updated_at":"2025-03-26T00:46:31.148Z","avatar_url":"https://github.com/Kioubit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChownShift\n\n## Shift UIDs,GIDs of directories or files by a specified amount\n\n### Features\n* Optional recursion mode\n* Supports hardlinks, symlinks without following them\n* Preserves file modes/permissions by default (including setuid)\n\n### Example\n\n    # ls -la\n    drwxr-xr-x 2 user user 4096 Oct  9 15:08 .\n    drwxr-xr-x 3 user user 4096 Oct  9 15:16 ..\n    -rw-r--r-- 1 2000 2000    0 Oct  9 15:08 testfile\n    drwxr-xr-x 2 2000 2000 4096 Oct  9 15:08 testdirectory\n    # chownshift -1 . --recursive # Shift UIDs and GIDs by -1\n    # ls -la\n    drwxr-xr-x 2 user user 4096 Oct  9 15:08 .\n    drwxr-xr-x 3 user user 4096 Oct  9 15:16 ..\n    -rw-r--r-- 1 1999 1999    0 Oct  9 15:08 testfile\n    drwxr-xr-x 2 1999 1999 4096 Oct  9 15:08 testdirectory\n\n### Usage\n\n    Usage: chownshift \u003cdifference\u003e \u003cpath\u003e [Optional Arguments]\n    Mandatory Arguments:\n    \u003cdifference\u003e: A positive or negative integer denoting the amount of UIDs and GIDs the files in path are to be shifted by\n    \u003cpath\u003e: The target path to a file or directory\n    Optional Arguments:\n    --recursive Recurse though the path provided\n    --verbose Verbose output\n    --nopermissions Do not preserve permissions\n    --dry-run Simulate only\n    --help Show this message\n    Exit codes: 0 - Success, 1 - Error, 2 - Argument error","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkioubit%2Fchownshift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkioubit%2Fchownshift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkioubit%2Fchownshift/lists"}