{"id":27402535,"url":"https://github.com/q-back/ls-rescue","last_synced_at":"2025-04-14T04:25:55.892Z","repository":{"id":203729186,"uuid":"112762504","full_name":"Q-back/ls-rescue","owner":"Q-back","description":"did you delete something accidentaly in your Linux? Or maybe you regret that you unpacket tar? Luckily you have ls output before you did it.","archived":false,"fork":false,"pushed_at":"2017-12-06T09:25:59.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-10-26T12:39:17.114Z","etag":null,"topics":["linux-tools"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Q-back.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}},"created_at":"2017-12-01T16:36:05.000Z","updated_at":"2023-10-26T12:39:25.007Z","dependencies_parsed_at":null,"dependency_job_id":"b97c24b3-78a1-4f1a-b01d-fcb8897c6e01","html_url":"https://github.com/Q-back/ls-rescue","commit_stats":null,"previous_names":["q-back/ls-rescue"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Q-back%2Fls-rescue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Q-back%2Fls-rescue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Q-back%2Fls-rescue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Q-back%2Fls-rescue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Q-back","download_url":"https://codeload.github.com/Q-back/ls-rescue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248820571,"owners_count":21166699,"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":["linux-tools"],"created_at":"2025-04-14T04:25:55.228Z","updated_at":"2025-04-14T04:25:55.881Z","avatar_url":"https://github.com/Q-back.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ls-rescue\n## Installation\nThis tool will be useful probably only for advanced linux users, so there is no package for it.\nMaybe someday I'll create script that automates instalation, but for now:\n1. Clone this repo: `git clone https://github.com/Q-back/ls-rescue/`\n2. Add alias to your `.bashrc` or whatever your distro uses:\n  * `nano ~/.bashrc`\n  * add (e.g to the end of file) line: `alias ls-rescue=\"path/to/ls-rescue.py\"`\n3. Enjoy.\n## Usage\n* To diff two ls outputs from files\n  * save your ls before and after your mistake to 2 separate files\n  * run `ls-rescue -f ls1_file ls2_file`.\n* To diff two ls outputs normally\n  * run `ls-rescue`\n  * input first ls output\n  * input second ls output\n  \n  You'll see what changed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fq-back%2Fls-rescue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fq-back%2Fls-rescue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fq-back%2Fls-rescue/lists"}