{"id":25824532,"url":"https://github.com/theimpossibleastronaut/rmwrs","last_synced_at":"2025-10-10T15:32:56.865Z","repository":{"id":44932802,"uuid":"281578160","full_name":"theimpossibleastronaut/rmwrs","owner":"theimpossibleastronaut","description":"Rust port of rmw","archived":false,"fork":false,"pushed_at":"2022-01-17T20:51:44.000Z","size":103,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"trunk","last_synced_at":"2025-10-10T15:32:02.658Z","etag":null,"topics":["cli","filemanagement","rmw","rust","utilities","wip"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/theimpossibleastronaut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-22T04:53:40.000Z","updated_at":"2022-01-17T20:56:04.000Z","dependencies_parsed_at":"2022-08-29T03:01:50.968Z","dependency_job_id":null,"html_url":"https://github.com/theimpossibleastronaut/rmwrs","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/theimpossibleastronaut/rmwrs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theimpossibleastronaut%2Frmwrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theimpossibleastronaut%2Frmwrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theimpossibleastronaut%2Frmwrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theimpossibleastronaut%2Frmwrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theimpossibleastronaut","download_url":"https://codeload.github.com/theimpossibleastronaut/rmwrs/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theimpossibleastronaut%2Frmwrs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004572,"owners_count":26083736,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","filemanagement","rmw","rust","utilities","wip"],"created_at":"2025-02-28T12:52:59.028Z","updated_at":"2025-10-10T15:32:56.849Z","avatar_url":"https://github.com/theimpossibleastronaut.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rmwrs\n\n[![Rust](https://github.com/theimpossibleastronaut/rmwrs/actions/workflows/rust.yml/badge.svg)](https://github.com/theimpossibleastronaut/rmwrs/actions/workflows/rust.yml)\n\n**Not ready for use**\n\n[rust](https://www.rust-lang.org/) port of [rmw](https://remove-to-waste.info/)\n\n## Current state\n\n*rmwrs* is in a very early development state and may change rapidly.\n\nRunning `cargo run -- \u003cfile\u003e` will ReMove a file to a waste folder\n(which is specified in the test configuration file) and create a\ncorresponding `.trashinfo` file into a `waste_parent_info` directory (see\nsource code for details). Because there's no restore feature yet, if\nyou'd like to demo or test the program, you should only use files as\narguments that are not essential. For example:\n\n    touch foo bar\n    cargo run -- foo bar\n\nExample 2:\n\n    mkdir tmp\n    touch tmp/foo tmp/bar\n    cargo run -- tmp/*\n\nYou'll see that the files were removed to ~/.rmwrs-Trash-test/files\nand corresponding .trashinfo files were created in\n~/.rmwrs-Trash-test/info. The .trashinfo file uses the\n[FreeDesktop.org Trash specification](https://specifications.freedesktop.org/trash-spec/trashspec-latest.html).\n\nWhen rmw'ing an item, if a file or directory with the same name already\nexists in the waste (or trash) directory, it will not be overwritten;\ninstead, the current file being rmw'ed will have a time/date string\n(formatted as \"_%H%M%S-%y%m%d\") appended to it (e.g.\n'foo_164353-210508').\n\n## -z, --restore FILE(s)\nTo restore items, specify the path to them in the \u003cWASTE\u003e/files\ndirectory (wildcards ok).\n\nWhen restoring an item, if a file or directory with the same name\nalready exists at the destination, the item being restored will\nhave a time/date string (formatted as \"_%H%M%S-%y%m%d\") appended\nto it (e.g. 'foo_164353-210508').\n\n## Configuration file\n\n*rmwrs* will automatically create a configuration file (rmwrsrc) in\n$XDG_CONFIG_HOME (if the environmental variable is set) or `~/.config`.\n\nYou can specify an alternate/custom configuration file.\n\n    cargo run -- tmp/* -c \u003ccustom-config-file\u003e\n\n## Most Recent List (mrl) file\n\nThe names of files that you \"remove\" will be stored in an mrl file in\n$XDG_DATA_HOME/rmwrs (if the environmental variable is set) or\n~/.local/share/rmwrs. Each time you run it, the file gets overwritten\nwith the new filenames.\n\nThe mrl file isn't used for anything yet. Later it will be used by the\nrestore and undo function.\n\n## More Info\n\nTo learn more about the design goals for this program, see the\n[rmw](https://remove-to-waste.info/) website. The goal of this rust\nport is to mimic the features of the C version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheimpossibleastronaut%2Frmwrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheimpossibleastronaut%2Frmwrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheimpossibleastronaut%2Frmwrs/lists"}