{"id":23692516,"url":"https://github.com/codyverse/fs2f","last_synced_at":"2026-02-04T18:01:29.509Z","repository":{"id":269398988,"uuid":"907303852","full_name":"codyverse/fs2f","owner":"codyverse","description":"A tool for taking snapshots of a file structure into a single file.","archived":false,"fork":false,"pushed_at":"2024-12-23T17:50:35.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-24T05:14:29.442Z","etag":null,"topics":["archiving","dir-copy","file-copier","file-copy","file-copying","file-structure","snapshot","structure-mirror"],"latest_commit_sha":null,"homepage":"","language":"Python","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/codyverse.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2024-12-23T09:32:33.000Z","updated_at":"2025-02-20T11:55:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6309183-a8ff-4761-8bf6-a24e7e4cea60","html_url":"https://github.com/codyverse/fs2f","commit_stats":null,"previous_names":["codyverse/fs2f"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/codyverse/fs2f","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codyverse%2Ffs2f","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codyverse%2Ffs2f/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codyverse%2Ffs2f/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codyverse%2Ffs2f/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codyverse","download_url":"https://codeload.github.com/codyverse/fs2f/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codyverse%2Ffs2f/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29092707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["archiving","dir-copy","file-copier","file-copy","file-copying","file-structure","snapshot","structure-mirror"],"created_at":"2024-12-30T03:28:37.610Z","updated_at":"2026-02-04T18:01:29.504Z","avatar_url":"https://github.com/codyverse.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fs2f\n\n## Description\n\nThe **fs2f** script is for taking snapshots of a file structure into a single file, similar to archiving without compression.\n\n## Features\n\n  - Create a snapshot file from a specified directory.\n  - Restore the file structure from a snapshot file to a chosen directory.\n  - Preserve information about the owner and access rights on UNIX-like systems.\n  - List the files and directories stored in the snapshot file.\n  - Verify file integrity using hash checks.\n  - *Strict mode* aborts recovery in the event of a hash error.\n\n## Installation\n\n- from GitHub\n  ```bash\n  git clone https://github.com/codyverse/fs2f.git\n  cd fs2f\n  ```\n\n- via PIP\n  ```bash\n  pip install fs2f\n  ```\n\n## Usage\n\nOptions:\n```\n  -h, --help        Show this help message and exit.\n  -m                Create a file structure snapshot and save it to a file.\n  -u                Restore a file structure snapshot from a file.\n  -s                Disable strict mode (continue restoring despite file hash mismatches).\n  -l snapshot_file  List files and directories stored in a file structure snapshot.\n  -d directory      Path to the directory.\n  -f snapshot_file  Path to the snapshot file.\n```\n\n### Examples\n\n- Snapshot the entire file structure inside the `./folder/a` directory to the `file.fs` file:\n  ```bash\n  python3 fs2f.py -m -d ./folder/a -f file.fs\n  ```\n- Restore the file structure from the `file.fs` file to the `./folder/b` directory:\n  ```bash\n  python3 fs2f.py -u -d ./folder/b -f file.fs\n  ```\n\n- Display all files and directories saved within the `file.fs` file:\n  ```bash\n  python3 fs2f.py -l file.fs\n  ```\n\n## Contributing\n\nFeel free to contribute by submitting issues or pull requests!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodyverse%2Ffs2f","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodyverse%2Ffs2f","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodyverse%2Ffs2f/lists"}