{"id":13520172,"url":"https://github.com/BOfH-666/Get-FolderInfo","last_synced_at":"2025-03-31T16:30:42.206Z","repository":{"id":208804886,"uuid":"224309606","full_name":"BOfH-666/Get-FolderInfo","owner":"BOfH-666","description":"Show the total size of a given folder, its sub folder count and its file count utilizing robocopy to make it blazing fast","archived":false,"fork":false,"pushed_at":"2021-01-21T01:14:52.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-02T05:22:58.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/BOfH-666.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,"governance":null}},"created_at":"2019-11-27T00:13:32.000Z","updated_at":"2021-01-21T01:14:54.000Z","dependencies_parsed_at":"2023-11-23T11:45:19.052Z","dependency_job_id":"5ce73119-61b3-4e4e-944d-d4a099744a9d","html_url":"https://github.com/BOfH-666/Get-FolderInfo","commit_stats":null,"previous_names":["bofh-666/get-folderinfo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BOfH-666%2FGet-FolderInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BOfH-666%2FGet-FolderInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BOfH-666%2FGet-FolderInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BOfH-666%2FGet-FolderInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BOfH-666","download_url":"https://codeload.github.com/BOfH-666/Get-FolderInfo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222670691,"owners_count":17020513,"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-08-01T05:02:13.282Z","updated_at":"2024-11-02T03:30:29.195Z","avatar_url":"https://github.com/BOfH-666.png","language":"PowerShell","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"readme":"# Get-FolderInfo\n  \n**.SYNOPSIS**  \nDisplays basic folder info.  \n  \n**.DESCRIPTION**  \nThis function shows the file and subfolder count as well as the total size in bytes and in human readable formats. The property \"Size\" is a string property for human convenience. It cannot be used for calculating or sorting purposses. Therefor you can use the property \"Bytes\".  \n  \n**.PARAMETER  Path**  \nThe folder path to show the info for.  \n  \n**.EXAMPLE**  \n\n```Powershell\nPS C:\\\u003e Get-FolderInfo\n```\n  \nThis command will show the information about the current working directory.\n  \n**.EXAMPLE**  \n\n```Powershell\nPS C:\\\u003e Get-ChildItem -Path $env:USERPROFILE -Directory |\n\u003e\u003e\u003e Get-FolderInfo |\n\u003e\u003e\u003e Sort-Object -Property Bytes -Descending\n```\n  \nThis command will show the information about all subfolders of the documents folder of the currently logged on user sorted by total size of the folder contents.  \n  \n**.EXAMPLE**  \n\n```Powershell\nPS C:\\\u003e Get-FolderInfo -Path D:\\Files\\Documents, D:\\Files\\Backup\n```\n  \nThis command will show the information about the two specified folders.  \n  \n**.INPUTS**  \nSystem.IO.DirectoryInfo  \n  \n**.OUTPUTS**  \nFolderInfo  \n  \n**.NOTES**  \nAuthor: O.Soyk  \nDate:   20210118  \n(To improve the performance of the function it utilizes the MS Windows command line tool Robocopy)  \n  \n**.LINK**  \n        http://social.technet.microsoft.com/wiki/contents/articles/1073.robocopy-and-a-few-examples.aspx  \n**.LINK**  \n        https://technet.microsoft.com/en-us/library/cc733145(v=ws.10).aspx  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBOfH-666%2FGet-FolderInfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBOfH-666%2FGet-FolderInfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBOfH-666%2FGet-FolderInfo/lists"}