Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lycheesync is modifying source images when importing with the -l flag #70

Open
benoitb85 opened this issue Jul 19, 2016 · 1 comment
Open
Labels

Comments

@benoitb85
Copy link

Hi,

I was in the process of importing my whole photo library to lychee using lycheesync. I am about 20 hours of loading in (~30 000 photos) and I am discovering through my rsync backup script that a good amount of my source photos are modified: new timestamp, and it seems a bigger file size.

Looking at the photos, they are all vertical. Are you destructively rotating source JPG photos ?

My command line is:
lycheesync.sync -l /data/photos /var/www/lychee /home/myname/lycheesync/ressources/conf.json

Is this by design ? I was not warned by reading the documentation that lycheesync would touch my source photos. I should have been careful and not run it with write access to the files.

@joewashear007
Copy link

I think this would be because the original file is being saved over because of the symlink. the photo.destfullpath points to the symlink, which then points to the original. I found this by using docker volumes, I kept getting a bunch of read-only exceptions because my source is mounted as a read-only volume.

img.save(photo.destfullpath, exif=exif_bytes, quality=99)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants