Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 387 Bytes

File metadata and controls

12 lines (8 loc) · 387 Bytes

PowerShell to remove JSON from Google Photos Google Takeout export and copy them to all destination

$ExportRoot = ""
$ResultPath = ($ExportRoot + "\Takeout\all")

Get-ChildItem -Path $ResultPath -Recurse -Include *.json | Remove-Item -Force

mkdir all;

Get-ChildItem -Path ($ExportRoot + "\Takeout\Google Photos") -Recurse -File | Copy-Item -Destination $ResultPath