Skip to content

Herring's Fishbait

Family, Cool Stuff and Assorted Geekery; the finer things in life. Updated when I have something interesting to write :)

  • Home
  • Powershell
    • All PowerShell
    • Scripts
  • Gaming
    • All Gaming
    • Apocalypse Maybe
    • LAN Party Game List
  • Diary Entries
    • All Diary Entries
    • Days Out
    • Holidays
      • All Holidays
      • Australia 2013
      • Iceland 2015
      • California 2016
    • LAN Yarns
    • Tales from IT
  • Bazaar of the Strange And Unusual
  • About

Tag: Photos

Posted on April 8, 2016April 8, 2016

PowerShell: Querying, Formatting and Exporting Tags on Picture Files

One of the many Sisyphean tasks my wife performs is keeping the all the metadata tags of our digital photographs up to date.  She meticulously keeps tabs on the tags she’s used but with the sheer number of photos, new photos being added and the children starting to take photos too it’s a pretty time-consuming task.

So;  what she needs is a list of all the tags used on each picture file (including ones missing with tags) in an easily sortable format.

Being the caring husband that I am I started spending some time solving that problem with PowerShell.

Of course, she might have been happier with me doing all the ironing for a week so she can focus fully on sorting the pictures out but this is a)  more efficient and b) a solution that she can re-use (teach a woman to (photograph) fish etc) and so is a better use of our time.

At least, that’s my excuse and I’m sticking to it. Continue reading “PowerShell: Querying, Formatting and Exporting Tags on Picture Files”

Posted on April 3, 2015July 1, 2015

PowerShell : Getting All File Metadata from a Folder

I noticed my wife going through some photos manually tracking which tags were used to classify different subjects so I wondered if I could write a little PowerShell that could return all the file metadata on a set of files (or the contents of a folder).  That would enable me to list out all the tags we’ve used on our photo collection, filter them and generally get an idea about the organisation.

After a quick Google I found a great script here from Microsoft but there were a few additional things I wanted it to do;

  • Return the information in a stream of objects so I can use the pipeline.
  • Accept input from the pipeline.
  • Use either a path to a file or a path to a folder;  if the latter is provided recurse through all the sub-directories.
  • Get more than 266 file properties.  In fact, assume we don’t know how many file properties are going to be listed on the file and get them all.

Updated script and explanation follows! Continue reading “PowerShell : Getting All File Metadata from a Folder”

Recent Posts

  • Apocalypse Maybe: A D&D Campaign Log. Part 19: Manic Myconid Mushroom Mayhem
  • Favourite Video Game Music, Pt1
  • Apocalypse Maybe: A D&D Campaign Log. Part 18: Push It Good…. Push It Real Good.
  • Apocalypse Maybe: A D&D Campaign Log. Part 17: Funghis, Leggy Girls and Narak Exposition
  • Apocalypse Maybe: A D&D Campaign Log. Part 16: Derro Indemnity

Most Popular

  • XCOM 2: Legendary Ironman Guide / Tips
  • Tagging MP3 Files in PowerShell
  • XCOM 2: War of the Chosen Tips
  • Fixes for the "Steam Stuck at a Blank Screen" Issue
  • XCOM 2: Long War 2 Guide and Tips (Spoiler-Free)
  • When Good Missions Go Bad (Xenonauts)
  • PowerShell : Renaming And Sorting All My Music Files
  • PowerShell: Get Largest Mailboxes on an Exchange Server (One-Line Command)
  • PowerShell: Export All Exchange Mailbox Folder Permissions In A Format For Further Processing
  • LAN Yarns: How To Lose Friends And Ingest People

Interesting Read

The Equality Trust

Top Posts & Pages

  • XCOM 2: Legendary Ironman Guide / Tips
  • Tagging MP3 Files in PowerShell
  • XCOM 2: War of the Chosen Tips
  • Fixes for the "Steam Stuck at a Blank Screen" Issue
  • XCOM 2: Long War 2 Guide and Tips (Spoiler-Free)
  • When Good Missions Go Bad (Xenonauts)
  • PowerShell : Renaming And Sorting All My Music Files
  • PowerShell: Get Largest Mailboxes on an Exchange Server (One-Line Command)
  • PowerShell: Export All Exchange Mailbox Folder Permissions In A Format For Further Processing
  • LAN Yarns: How To Lose Friends And Ingest People

Recent Posts

  • Apocalypse Maybe: A D&D Campaign Log. Part 19: Manic Myconid Mushroom Mayhem
  • Favourite Video Game Music, Pt1
  • Apocalypse Maybe: A D&D Campaign Log. Part 18: Push It Good…. Push It Real Good.
  • Apocalypse Maybe: A D&D Campaign Log. Part 17: Funghis, Leggy Girls and Narak Exposition
  • Apocalypse Maybe: A D&D Campaign Log. Part 16: Derro Indemnity

Categories

  • Books (3)
  • Diary Entries (85)
    • Days Out (31)
    • Holidays (40)
      • Australia 2013 (12)
      • Brecon Beacons 2015 (1)
      • California 2016 (18)
      • Iceland 2015 (7)
    • Tales from IT (10)
  • Family (5)
  • Films (7)
  • Gaming (88)
    • Board Gaming (5)
    • Hearthstone (3)
    • LAN Yarns (6)
    • Marvel Heroes Online (2)
    • MechWarrior:Online (1)
    • Painting (1)
    • Role Playing (20)
      • Dungeons and Dragons (19)
        • Apocalypse Maybe (19)
    • Starcraft (3)
  • Kickstarter (5)
  • Music (6)
    • Guitar (1)
  • Pets (2)
  • Reviews (7)
  • Technology (96)
    • Exchange (8)
    • Hardware (4)
    • Office 365 (7)
    • Powershell (75)
      • Tutorials (3)
    • UNIX (1)
    • Virtual Reality (1)
    • Windows (8)
  • Uncategorized (4)
Blog at WordPress.com.
  • Subscribe Subscribed
    • Herring's Fishbait
    • Join 62 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Herring's Fishbait
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar