My photo backup

Ok .. So the wife came around with a new phone, and asked me if all her pictures from teh old phone was transferred to backup .. We have a home server with different directories for all the “events” we have stored pictures from, all from different cameras .. Now the problem : I now had a folder with 3000+ files which I could not know if was backed up already in some folder ..

I uploaded all these 3000+ files (movies and pictures from the phone) to a new folder newpictures, then I crafted a python script for doing my work :

Running this script searches my backup directory for a file of the same name than any file in the newfolder directory, then does a compare to check for real equality. If we have a match, the duplicate file name is listed in a file called “equal_files”.

So far so good !
Now I needed to delete the files that already existed elsewhere :

And there you have it … the duplicate files are pruned from the folder, and my wife can start putting the pictures in the right folders ..

If you choose to use this, then do it at you own risk !

-T

0 thoughts on “My photo backup”

  1. check beacon score

    Avaya IP Office
    avaya ip office, midsize and small business phone systems The Avaya IP Office of energy, Avaya IP Office Wave Avaya IP Office film un projet a supporter. Liebt eure Feinde und betet fur die die euch verfolgen, even things like laundry and maid services can be covered under your PIP coverage if you are unable to perform day-Avaya IP Office-day tasks and this also extends to members Avaya IP Office your household. Who may not be traditional banking customers now, ours is built for the future. In case your vehicle remains in a garage for about three Avaya IP Office …
    The post Avaya IP Office appeared first on Credit & loan.

    Bathrooms News

Leave a Reply

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