Created
September 11, 2018 09:30
-
-
Save harupong/46fb8b4d8dd5825d7aa653a719087d1f to your computer and use it in GitHub Desktop.
Quick and dirty PowerShell script to dedupe Google photos using rclone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$paths = @( | |
"google-drive:Google Photos\path1", | |
"google-drive:Google Photos\path2", | |
"google-drive:Google Photos\path3", | |
) | |
$paths | ForEach-Object -Process { | |
echo $_ ; .\rclone lsf $_ | Measure-Object –Line ; if($?) {.\rclone dedupe --dedupe-mode largest $_} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment