All my pictures are gone
See original GitHub issueI ran this tool and stopped and continued later because of too many files and used the --trash
option. Now after emptying the trash all my pictures are gone in the generated directories.
So the tool has created the entire tree of directories even with dates and locations but all directories are empty.
I even checked if it was working half way and it was fine. All pictures were there in the respective directories and now all are gone.
How is this possible?
— checklist by @jmathai
- Check for file existence when skipping duplicates and tests
- Do not allow
destination
folder to be insidesource
folder and tests - Print statistics after completion and tests
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
How to Fix Photos Disappeared from Android Gallery - iMobie
Launch Google Photos on your Android phone and go to Library. Head to Trash. The photos that were deleted in the last 60...
Read more >Android Photos Disappeared? Here's How to Fix It up and ...
Open Google Photos app on your Android phone and go to Library tab from the bottom. · Go to Trash. · Tap Select...
Read more >Photos Disappeared from Android Phone, What to Do
Part 1. What You Can Do Firstly When Pictures Missing from Gallery · 1. Restart Your Android Phone. One of the quickest ways...
Read more >If you're missing photos or videos in the Photos app
If you're missing photos or videos in the Photos app · Check your Recently Deleted album · Unhide your photos · Make sure...
Read more >Find lost photos & videos - Android - Google Photos Help
Step 2: Find photos from apps like Facebook or Instagram · On your Android phone or tablet, open the Google Photos app Photos...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing this issue after checking off the todo list. Thanks for reporting and helping debug.
@sebastiaandegeus I think you’re right that the
destination
folder being inside thesource
folder was part of what caused the problem you encountered. Precisely for the reason you explained.I’ve added checklist of things to address for this issue. You hit a really nasty set of behaviors that are ultimately bugs because the library should know not do delete photos under these circumstances.
This uncovered some other potential bugs if the script were used in a way we hadn’t considered. Feel free to add suggestions to the checklist.
Thanks and sorry about that.