icloud-photos-sync icon indicating copy to clipboard operation
icloud-photos-sync copied to clipboard

Feature Idea: Soft delete

Open leipert opened this issue 2 years ago • 2 comments

If one uses icloud-photos-sync for backup purposes, it'd be great to have a soft-delete mode which moves deleted files into a separate folder rather than just deleting them from the file system.

Probably would "just" be a CLI flag and then instead of an rm, one would move the file.

Probably here: https://github.com/steilerDev/icloud-photos-sync/blob/9c14564aed2449bfa6db34bfc239d796c35581be/app/src/lib/photos-library/photos-library.ts#L292-L295

and here:

https://github.com/steilerDev/icloud-photos-sync/blob/9c14564aed2449bfa6db34bfc239d796c35581be/app/src/lib/photos-library/photos-library.ts#L488-L489

I might have some time to look at this, but just wanted to leave the idea here.

leipert avatar Aug 18 '23 10:08 leipert

hey @leipert - that sounds like a reasonable additional feature (and shouldnt be too hard)... let me add it to the backlog

steilerDev avatar Aug 18 '23 13:08 steilerDev

I've created a separate issue (https://github.com/steilerDev/icloud-photos-sync/issues/354) to explain my proposal for a new library version that should resolve this issue. Would therefore love to get your feedback on there.

steilerDev avatar Sep 25 '23 15:09 steilerDev