{"id":19944949,"url":"https://github.com/clovervidia/powershell-scripts","last_synced_at":"2025-08-02T18:06:33.154Z","repository":{"id":72129760,"uuid":"295919619","full_name":"clovervidia/powershell-scripts","owner":"clovervidia","description":"A collection of PowerShell scripts I've written to help with automating tasks","archived":false,"fork":false,"pushed_at":"2021-10-25T15:49:23.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T05:12:35.856Z","etag":null,"topics":["exif","exif-data","exif-metadata","powershell","powershell-script","powershell-scripting","powershell-scripts"],"latest_commit_sha":null,"homepage":"","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/clovervidia.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-16T04:08:03.000Z","updated_at":"2024-11-24T21:40:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"fedbd7ac-f373-4895-9c3c-e1a4dc4ea5aa","html_url":"https://github.com/clovervidia/powershell-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovervidia%2Fpowershell-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovervidia%2Fpowershell-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovervidia%2Fpowershell-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clovervidia%2Fpowershell-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clovervidia","download_url":"https://codeload.github.com/clovervidia/powershell-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241374520,"owners_count":19952544,"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":["exif","exif-data","exif-metadata","powershell","powershell-script","powershell-scripting","powershell-scripts"],"created_at":"2024-11-13T00:23:34.418Z","updated_at":"2025-03-01T13:42:11.860Z","avatar_url":"https://github.com/clovervidia.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PowerShell Scripts\n\nA collection of PowerShell scripts I've written to help with automating tasks.\n\n## exif-data.ps1\n\nBased on \u003chttps://www.tabsoverspaces.com/233463-renaming-files-based-on-exif-data-in-powershell\u003e.\n\nA relatively simple script that extracts EXIF data from images. I wanted a way to sort images by their focal length property, which would tell me which camera on my phone I used to take them. This script extracts the focal length and a few other properties into a dictionary, allowing you to easily sort and group the images.\n\nAs an example, this is how you could use the script to grab the EXIF data from all of the images in a folder and group them by focal length.\n\n```powershell\ndir *.jpg | % {Get-EXIFData $_} | Group-Object {$_.FocalLength}\n```\n\nYou could also use it to rename images based on when they were taken, which is what the original author wrote and used the script for.\n\nThe properties it currently extracts are:\n\n- Date/Time Taken\n- Camera Make\n- Camera Model\n- Lens Focal Length\n- Software Used\n- Image Width\n- Image Height\n- Image Orientation\n- Flash\n- GPS Latitude\n- GPS Latitude Reference\n- GPS Longitude\n- GPS Longitude Reference\n\n## totalvideolength.ps1\n\nTakes in video files and returns the total length as a TimeSpan object. You can pipe in output from `Get-ChildItem` or pass in names or paths as arguments.\n\n```powershell\ndir -recurse *.ts | Get-TotalVideoLength\nGet-TotalVideoLength file.mp4\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclovervidia%2Fpowershell-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclovervidia%2Fpowershell-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclovervidia%2Fpowershell-scripts/lists"}