{"id":17867111,"url":"https://github.com/cdhunt/qopy","last_synced_at":"2025-03-21T09:31:14.786Z","repository":{"id":7803915,"uuid":"9174297","full_name":"cdhunt/Qopy","owner":"cdhunt","description":"A Powershell File Copy Module with CRC Check","archived":false,"fork":false,"pushed_at":"2013-06-12T12:30:46.000Z","size":168,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-23T02:56:27.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdhunt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-02T16:12:06.000Z","updated_at":"2022-07-31T04:35:20.000Z","dependencies_parsed_at":"2022-08-30T09:30:44.086Z","dependency_job_id":null,"html_url":"https://github.com/cdhunt/Qopy","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdhunt%2FQopy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdhunt%2FQopy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdhunt%2FQopy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdhunt%2FQopy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdhunt","download_url":"https://codeload.github.com/cdhunt/Qopy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221813559,"owners_count":16884846,"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":[],"created_at":"2024-10-28T09:44:01.066Z","updated_at":"2024-10-28T09:44:01.570Z","avatar_url":"https://github.com/cdhunt.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Qopy\n====\n\nA _Quick_ Powershell File Copy Module with CRC Check.\n\nXCopy, Robocopy and Teracopy are all good Windows utilities for copying a large amount of files, but none of them offer easily machine-readable results report. An efficient, reliable and audit-able _copy utility_ is critical for large-scale, automated software deployments.\n\nQopy is a binary Powershell Module that provides some the functionality of all of those other utilities with an object output for advanced reporting and auditing. Qopy copies only the data inside each file and none of the metadata like ModifiedTime or ACLs.\n\nTwo Cmdlets are exported.\n\n\tNAME\n\t\tCopy-Files\n\n\tSYNOPSIS\n\t\tA Powershell File Copy Module with CRC Check.\n\n\tSYNTAX\n\t\tCopy-Files [-Source] \u003cstring\u003e [-Destination] \u003cstring\u003e [[-Filter] \u003cstring\u003e]\n\t\t[[-Recurse]] [[-SetTime]] [[-Overwrite]] [[-ShowProgress]]  [\u003cCommonParameters\u003e]\n\n\n\tNAME\n\t\tGet-CopyResultsReport\n\n\tSYNOPSIS\n\t\tAggregate output of Copy-Files\n\n\tSYNTAX\n\t\tGet-CopyResultsReport -InputObject \u003cFileCopyResultsItem\u003e\n\t\t[\u003cCommonParameters\u003e]\t\t\n\nThe output is an object list with the following properties\u0026#151;One object per source file.\n\n\t   TypeName: Qopy.FileCopyResultsItem\n\n\tName           MemberType Definition\n\t----           ---------- ----------\n\tDestination    Property   string Destination {get;set;}\n\tDestinationCRC Property   string DestinationCRC {get;set;}\n\tErrorMessage   Property   string ErrorMessage {get;set;}\n\tMatch          Property   bool Match {get;set;}\n\tSize           Property   long Size {get;set;}\n\tSource         Property   string Source {get;set;}\n\tSourceCRC      Property   string SourceCRC {get;set;}\n\tTime           Property   timespan Time {get;set;}\n\nGet-CopyResultsReport returns the following properties.\n\n    TypeName: Qopy.FileCopyResultsReport\n\n\tName           MemberType Definition\n\t----           ---------- ----------\n\tBytes          Property   long Bytes {get;set;}\n\tFailedItemList Property   System.Collections.Generic.List[Qopy.FileCopyResultsItem]\n\tFileCount      Property   int FileCount {get;set;}\n\tTotalTime      Property   timespan TotalTime {get;set;}\t\nFeatures\n====\n* Attempts to not copy files when unnecessary.\n    * If file size is different and `Overwrite` switch is not enabled, do not copy.\n    * If file size is the same and CRC check is the same, do not copy.\n* Validates source and destination contents match\n\nCRC-32 functionality was developed by Damien Guard - [Calculating CRC-32 in C# and .NET](http://damieng.com/blog/2006/08/08/calculating_crc32_in_c_and_net)\n\nPerformance\n====\nTest Case:\n1,797 Files in 145 Folders\n108MB\n\n_Local System_\u003cbr /\u003e\n**TeraCopy w/Test** 1:01\u003cbr /\u003e\n**Qopy** 0:27\u003cbr /\u003e\n\n_LAN_\u003cbr /\u003e\n**TeraCopy w/Test** 2:02\u003cbr /\u003e\n**Qopy** 1:31\u003cbr /\u003e\n\nChanges\n====\n\n1.0.3\n----\n* Added the SetTime switch to copy timestamp metadata. This increases copy time by as much as 300%.\n\n1.0.2\n----\n* Changed error output to use WriteVerbose. This prevents terminating errors. Add the -Verbose switch to expose.\n* Added ErrorMessage property to the FileCopyResultsItem class to capture copy errors.\n\n1.0.1\n----\n* Removed some unnecessary IO by eliminating redundant file existence checks. Should improve network file copy performance a little bit.\n\n\nTodo\n====\n* A bunch of code clean-up\n* Update Progress bar to use Bytes instead of File Count\n* Move (delete source)?\n* Validate only?\n* Do not Validate?\n\nUse\n====\n**Requires Powershell v3.**\n\n[Binary Download](http://www.automatedops.com/downloads/Qopy1.0.2.zip)\n\n1. Extract to `C:\\Users\\[username]\\Documents\\WindowsPowerShell\\Modules` \n1.  `Import-Module Qopy`\n\nIf you use the `ShowProgress` switch without capturing the Output, the screen will get very flashy.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdhunt%2Fqopy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdhunt%2Fqopy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdhunt%2Fqopy/lists"}