{"id":20778132,"url":"https://github.com/mustafadalga/project-file-saver","last_synced_at":"2026-04-19T22:33:05.337Z","repository":{"id":164348493,"uuid":"639782381","full_name":"mustafadalga/project-file-saver","owner":"mustafadalga","description":"Project File Saver","archived":false,"fork":false,"pushed_at":"2023-05-12T08:29:07.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-23T14:56:22.592Z","etag":null,"topics":["bash","bash-script","code-export","file-saver","folder-scanner","project-archiver","project-backup","project-export"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/mustafadalga.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":"2023-05-12T08:05:30.000Z","updated_at":"2023-05-13T13:54:52.000Z","dependencies_parsed_at":"2023-05-15T09:30:23.219Z","dependency_job_id":null,"html_url":"https://github.com/mustafadalga/project-file-saver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mustafadalga/project-file-saver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafadalga%2Fproject-file-saver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafadalga%2Fproject-file-saver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafadalga%2Fproject-file-saver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafadalga%2Fproject-file-saver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mustafadalga","download_url":"https://codeload.github.com/mustafadalga/project-file-saver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafadalga%2Fproject-file-saver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32025737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["bash","bash-script","code-export","file-saver","folder-scanner","project-archiver","project-backup","project-export"],"created_at":"2024-11-17T13:19:24.605Z","updated_at":"2026-04-19T22:33:05.311Z","avatar_url":"https://github.com/mustafadalga.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project File Saver\n\nThis script saves the content of all project files to a single output file. It supports specifying output file name, ignoring specific files and folders, and scanning nested directories.\n\n## Table of Contents\n\n- [Features](#features)\n- [Usage](#usage)\n    - [Prerequisites](#prerequisites)\n    - [Examples](#examples)\n- [License](#license)\n\n\n## Features\n\n1. Save all project files content to an output file.\n2. Exclude current bash script file.\n3. Get output file name with `--output filename.md` argument.\n4. Get ignored files and folders with `--ignore` argument.\n5. Script scans all project files, including nested folders and files.\n6. If the user does not define the `--output` file name, the default file name is \"data.txt\".\n\n## Usage\n\n### Prerequisites\n\nTo make the `save.sh` script executable on your computer, you need to set the executable permission for the file. You can do this using the `chmod` command. Here's how:\n\n```sh\nchmod +x save.sh\n```\n\n## Examples\n\n#### Example 1: Save all project files as `data.txt`\n\nThis command will run the script without specifying any ignored files or output file name. The script will use the default output file name, `data.txt`.\n\n```sh\ntest@computer % ./save.sh   \n```\n\n\u003cbr /\u003e \n\n#### Example 2: Save all project files as `my_data.md`\n\nThis command will run the script and specify an output file name, `my_data.md`.\n\n```sh\ntest@computer % ./save.sh   --output my_data.md\n```\n\n\u003cbr /\u003e \n\n#### Example 3: Save all files except `__test__` folder and `package-lock.json` as `summarize.md`\n\nThis command will run the script, ignoring the `__test__` folder and `package-lock.json` file. The output file will be named `summarize.md`.\n\n```sh\ntest@computer % ./save.sh  --ignore __test__ package-lock.json  --output summarize.md\n```\n\n\u003cbr /\u003e \n\n#### Example 4: Save all files except specified files and folders as `placeholder_documentation.md`\n\nThis command will run the script, ignoring `node_modules`, `package.json`, `webpack.config.js`, `src`, `__tests__`, `package-lock.json`, and `LICENSE`. The output file will be named `placeholder_documentation.md`.\n\n```sh\ntest@computer % ./save.sh --ignore node_modules package.json webpack.config.js src __tests__ package-lock.json LICENSE --output placeholder_documentation.md\n```\n\n\u003cbr /\u003e \n\n## License\n[![License](https://img.shields.io/badge/LICENSE-GPL--3.0-orange)](https://github.com/mustafadalga/project-file-saver/blob/main/LICENSE)\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafadalga%2Fproject-file-saver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmustafadalga%2Fproject-file-saver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafadalga%2Fproject-file-saver/lists"}