{"id":20761496,"url":"https://github.com/thatsinewave/random-file-deleter","last_synced_at":"2025-03-11T17:20:25.157Z","repository":{"id":223577317,"uuid":"760944074","full_name":"ThatSINEWAVE/Random-File-Deleter","owner":"ThatSINEWAVE","description":"Small joke script wrote as a sort of prank. Use it at your own risk.","archived":false,"fork":false,"pushed_at":"2024-04-23T22:53:29.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T05:30:53.403Z","etag":null,"topics":["batch-script","batch-scripting","customizability","deleter","educational-purpose","educational-script","file-delete-utility","file-management","good-first-contribution","good-first-issue","good-first-pr","good-first-project","powershell","powershell-script","random-tasks","system-startup","testing","thatsinewave","warning","windows-automation"],"latest_commit_sha":null,"homepage":"https://github.com/ThatSINEWAVE/Random-File-Deleter","language":"Batchfile","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/ThatSINEWAVE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ThatSINEWAVE","ko_fi":"thatsinewave"}},"created_at":"2024-02-21T00:14:13.000Z","updated_at":"2024-05-22T02:35:04.000Z","dependencies_parsed_at":"2024-02-21T01:20:17.019Z","dependency_job_id":"2a5dc876-4b5c-4f9c-b82c-39a982be3330","html_url":"https://github.com/ThatSINEWAVE/Random-File-Deleter","commit_stats":null,"previous_names":["thatsinewave/random-file-deleter","thatsinewave/deleter"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatSINEWAVE%2FRandom-File-Deleter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatSINEWAVE%2FRandom-File-Deleter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatSINEWAVE%2FRandom-File-Deleter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatSINEWAVE%2FRandom-File-Deleter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThatSINEWAVE","download_url":"https://codeload.github.com/ThatSINEWAVE/Random-File-Deleter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243076603,"owners_count":20232438,"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":["batch-script","batch-scripting","customizability","deleter","educational-purpose","educational-script","file-delete-utility","file-management","good-first-contribution","good-first-issue","good-first-pr","good-first-project","powershell","powershell-script","random-tasks","system-startup","testing","thatsinewave","warning","windows-automation"],"created_at":"2024-11-17T10:21:24.520Z","updated_at":"2025-03-11T17:20:25.125Z","avatar_url":"https://github.com/ThatSINEWAVE.png","language":"Batchfile","funding_links":["https://github.com/sponsors/ThatSINEWAVE","https://ko-fi.com/thatsinewave"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Random File Deleter\n\nThis repository contains a small script (`script.bat`) intended to run at startup and delete a randomly chosen file at intervals ranging from 1 to 10 minutes. The script targets files with a specific extension, which can be modified by the user. A PowerShell script (`start_script.ps1`) is included to facilitate running the batch script in the background at startup.\n\n\u003c/div\u003e\n\n## Warning\n\nThis script is for educational purposes only. It is designed to demonstrate the capabilities of batch scripting and PowerShell in automating tasks on Windows systems. The author is not responsible for any damage or loss of data resulting from the use or misuse of this script. Use it at your own risk.\n\n## Features\n\n- **Random Interval Execution**: Deletes a file at a random interval between 1 and 10 minutes.\n- **Customizable File Targeting**: Users can specify the file extension of the files to be targeted for deletion.\n- **Startup Execution**: Includes a method to run the script at system startup, ensuring the random deletion process begins automatically.\n\n\u003cdiv align=\"center\"\u003e\n\n## ☕ [Support my work on Ko-Fi](https://ko-fi.com/thatsinewave)\n\n\u003c/div\u003e\n\n## Setup\n\n1. **Modify File Extension**: Open `script.bat` and change the `file_extension` variable to target the desired file type. The default is set to `.prproj`.\n    ```batch\n    set \"file_extension=.your_extension_here\"\n    ```\n2. **Configure Startup Task**: Use `start_script.ps1` to run `script.bat` at system startup. This can be done by scheduling a task in the Task Scheduler to run `start_script.ps1`.\n\n\u003cdiv align=\"center\"\u003e\n\n# [Join my discord server](https://discord.gg/2nHHHBWNDw)\n\n\u003c/div\u003e\n\n## Usage\n\nAfter setting up the script and configuring the targeted file extension, the script will automatically run at the specified intervals, deleting a randomly selected file with the specified extension in the script's directory.\n\n### Starting the Script Manually\n\nTo start the deletion process manually, simply run `start_script.ps1` using PowerShell, which will execute `script.bat` in the background:\n```powershell\n.\\start_script.ps1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatsinewave%2Frandom-file-deleter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatsinewave%2Frandom-file-deleter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatsinewave%2Frandom-file-deleter/lists"}