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

Feature: Keep a backup, rollback #8

Open
staberas opened this issue Jul 10, 2024 · 9 comments
Open

Feature: Keep a backup, rollback #8

staberas opened this issue Jul 10, 2024 · 9 comments

Comments

@staberas
Copy link

Keep a backup and a rollback feature in case a picture gets renamed by accident.

@ozgrozer
Copy link
Owner

Yeah maybe a --backup flag might be useful but what type of accident are we talking about?

@staberas
Copy link
Author

staberas commented Jul 10, 2024

In a folder that i have a bunch of unsorted memes and various images without clear title, some of my photos do have the creator-person in the picture name is being changed to something descriptive but not helpful.
for example -> " julia-lepetit.png to woman-posing-infront-graffiti.png " yes the title is correct but i like to have the name of the person in the pic i used . Thats why some json/txt backup of the changes might be needed . (maybe an append title feature?)

@ozgrozer
Copy link
Owner

I don't think that's an issue. The script does what it has do. Instead of a backup and rollback, maybe a confirmation message would be more suitable.

@staberas
Copy link
Author

staberas commented Jul 12, 2024

Confirmation before it starts, and a log of name changes (as a backup),
the log should log folder-filename changes that happened.
Example of log/backup file

Folder C:\folderwithfiles
structures.jpg to lor-gradient-applied-to-image.jpg
discernible-text.jpg to ism-and-its-impact-on-society.jpg
feel-free-to-ask.jpg to photo-background.jpg
unique-style-and-interests.jpg to ate-about-the-story-behind-it.jpg
as-per-your-request.jpeg to lock-wall-with-graffiti-on-it.jpeg
Folder C:\folderwithfiles\subfolder
otherimage.jpg to ate-about-the-story-behind-it.jpg
iwanttorename.jpeg to lock-wall-with-graffiti-on-it.jpeg

@ozgrozer
Copy link
Owner

Let's make this issue open. I'll implement the confirmation feature if it's asked some more.

@darrenpierre90
Copy link

Confirmation before it starts, and a log of name changes (as a backup), the log should log folder-filename changes that happened. Example of log/backup file

Folder C:\folderwithfiles
structures.jpg to lor-gradient-applied-to-image.jpg
discernible-text.jpg to ism-and-its-impact-on-society.jpg
feel-free-to-ask.jpg to photo-background.jpg
unique-style-and-interests.jpg to ate-about-the-story-behind-it.jpg
as-per-your-request.jpeg to lock-wall-with-graffiti-on-it.jpeg
Folder C:\folderwithfiles\subfolder
otherimage.jpg to ate-about-the-story-behind-it.jpg
iwanttorename.jpeg to lock-wall-with-graffiti-on-it.jpeg

I would love a confirmation message before it starts as I'm not quite happy with the results .

@XGhozt
Copy link

XGhozt commented Jul 24, 2024

Or perhaps instead of renaming, we have an option to prepend or append the new description?

@chla-conscia
Copy link

I'm glad I tried it on some test-files first.
I wasnt satisfied with the renaming.
so now I dont know if I wanna make the big bulk.

So a --backup flag would be very appreciate

@unstatusthequo
Copy link

Or perhaps instead of renaming, we have an option to prepend or append the new description?

Yes, I second this. An option to retain the original filename in part would be nice. So you can decide to add the new filename as a prefix or suffix to the original filename. Or remove it, which is what we have now.

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

No branches or pull requests

6 participants