[featured_image]
Download
Download is available until [expire_date]
  • Version
  • Download 1
  • File Size 5.94 MB
  • File Count 1
  • Create Date May 11, 2025
  • Last Updated May 11, 2025

Flag Icons

Country flags from Hampus Joakim Borgos https://hampusborgos.github.io/country-flags/

Meta data

Column Name Data Description
Name Flag Icons Name of the Pack
Shortcode flags Shortcode of the pack used for filtering
Github Link https://github.com/hampusborgos/country-flags Github Repository Link
Total Total Number of Icons
Author Hampus Joakim Borgos Author of the Icon Pack
Author Link https://hampusborgos.github.io/country-flags/ Link to the Author
Icon SVG SVG for the Pack Logo, or
Logo PNG or JPG for the Pack Logo
Icons CSV CSV FIle of the Icons
Has Categories No Are categories used to group icons within a pack.

Transformations

Name Transform From Transform To

PowerShell script to create csv from repository.

$counter = 1
$file = "D:AppzIconManagerPacksCSVlags-20250428.csv"
write-host "Saving Flags"
$setName = "flags"

$path = "D:AppzIconManagerPackscountry-flagssvg*.svg"
$icons = get-childitem -File $path -recurse

ForEach($icon in $icons){
    [string]$string = Get-Content $icon.FullName;
    $result = $countrycodes | Where-Object { $_.Alpha2 -eq $icon.Name.Replace(".svg","").ToUpper() } 
    $objResults = New-Object PSObject -Property @{
        pp_id = $counter;
        pp_name = $result.Name
        pp_svg = $string.Replace("""","'");
        pp_pack = $setName
        pp_size = ""
        pp_category = "4x3"
    }
    $counter++
    $objResults | Export-CSV $file -Append -NoTypeInformation -force
}

write-host "Finished"

Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *