{"id":26962262,"url":"https://github.com/ataguima/autousb-backup","last_synced_at":"2025-04-03T05:19:35.686Z","repository":{"id":282734572,"uuid":"949502394","full_name":"ataguima/AutoUSB-Backup","owner":"ataguima","description":"This PowerShell script quickly backs up files from selected user folders to a USB drive based on its label. It only transfers files smaller than 10MB, ensuring a fast operation. The process is optimized to allow the user to insert the USB drive, perform the backup, and eject it within seconds — ideal for quick, on-the-go \"backups\".","archived":false,"fork":false,"pushed_at":"2025-03-28T19:58:13.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T20:34:01.595Z","etag":null,"topics":["badusb","powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/ataguima.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":"2025-03-16T15:54:16.000Z","updated_at":"2025-03-28T19:58:17.000Z","dependencies_parsed_at":"2025-03-16T23:01:54.793Z","dependency_job_id":null,"html_url":"https://github.com/ataguima/AutoUSB-Backup","commit_stats":null,"previous_names":["ataguima/autousb-backup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ataguima%2FAutoUSB-Backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ataguima%2FAutoUSB-Backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ataguima%2FAutoUSB-Backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ataguima%2FAutoUSB-Backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ataguima","download_url":"https://codeload.github.com/ataguima/AutoUSB-Backup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246939660,"owners_count":20857999,"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":["badusb","powershell"],"created_at":"2025-04-03T05:19:34.924Z","updated_at":"2025-04-03T05:19:35.680Z","avatar_url":"https://github.com/ataguima.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backup Script for USB Drive\n\nThis PowerShell script quickly backs up files from selected user folders to a USB drive based on its label. It only transfers files smaller than 10MB, ensuring a fast operation. The process is optimized to allow the user to insert the USB drive, perform the backup, and eject it within seconds — ideal for quick, on-the-go \"backups\".\n\n## Features\n\nThe script performs the following actions:\n- Detects a USB drive with the specified label.\n- Creates a folder structure on the USB drive if it doesn't exist.\n- Copies files from selected folders (Downloads, Documents, etc.) to the USB drive, ignoring files larger than 10MB.\n\n## Parameters\n\n- **DriveLabel** (string): The label of the USB drive. Default is `'DRIVEUPDATE'`.\n- **SourceFolders** (array[string]): A list of source folders to copy from. Defaults to `Downloads`, `Documents`, `Pictures`, `Videos`, and Chrome data.\n- **DestinationSubfolder** (string): The name of the subfolder on the USB drive where the files will be stored. Default is `'Data'`.\n- **MaxFileSize** (long): The maximum file size to copy, in bytes. Default is 10MB.\n\n## Example Usage\n\n```powershell\n.\\backup-script.ps1 -DriveLabel \"MY_DRIVE\" -SourceFolders \"$env:USERPROFILE\\Documents\" -DestinationSubfolder \"Backup\" -MaxFileSize 10485760\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fataguima%2Fautousb-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fataguima%2Fautousb-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fataguima%2Fautousb-backup/lists"}