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

Ability to bulk-delete files and folders? #16

Open
archivesilver opened this issue Apr 10, 2023 · 10 comments
Open

Ability to bulk-delete files and folders? #16

archivesilver opened this issue Apr 10, 2023 · 10 comments
Assignees
Labels
enhancement New feature or request

Comments

@archivesilver
Copy link

Due to a memory problem I'm facing on the phone, I am trying to make a smaller backup from an existing large one.

Will there be an update to rebuild a backup file, import selected domains, or remove some parts of an existing backup to make it smaller?

Thanks.

@MaxiHuHe04
Copy link
Owner

Hi @archivesilver,
I don't have enough time and motivation at the moment to implement the feature to create a backup from scratch, but you can already remove files from an existing one. If you have some very large files, this should help. It doesn't work with whole folders yet, but that would be something I can implement if you want.
Adding new files to an existing backup is also more or less on my to-do list.

@archivesilver
Copy link
Author

you can already remove files from an existing one.

How do I do that? Can this program do that?
I can't find any files with the same name as the extracted ones after I use this program.

@MaxiHuHe04
Copy link
Owner

MaxiHuHe04 commented Apr 12, 2023

When you select your backup, navigate to the "Files" tab and locate the file you want to remove, you can just right-click on it and there should be an option called "Delete".

I can't find any files with the same name as the extracted ones after I use this program.

I don't quite understand what you mean by this. Could you explain this further if the delete function doesn't suit your needs?

@archivesilver
Copy link
Author

What I meant was extracted file names didn't match any files in the original backup directory, seen via windows explorer. I thought I could manually locate and delete files using windows explorer. I understand now.

I have found the right-click option. But, I want to delete a lot of files at once. I have thought of a few features that would help me a lot. Please let me know if any of the following can be implemented:

• Ability to delete selected files and folders. A button next to Export selected files on Files tab. (Right-click option only deletes 1 file at a time even when multiple selected.)
• In the File Search tab, an extra text input to search by file extension, with an option to select and delete selected items.

@zzph
Copy link

zzph commented Apr 18, 2023

Not sure this is the same "ask" but I also think being able to "re-create" the backup unencrypted would be great- then we could use other tools to explore/access the content

@eduardosbrissia
Copy link

It doesn't work with whole folders yet, but that would be something I can implement if you want.

I'd be very grateful if you can implement the "whole folder delete"! I'm trying to restore an 13gb backup to an 16gb old iphone, but I don't need all the photos from camera roll. Thanks in advance!

@MaxiHuHe04 MaxiHuHe04 self-assigned this Apr 30, 2023
@MaxiHuHe04 MaxiHuHe04 added the enhancement New feature or request label Apr 30, 2023
@MaxiHuHe04
Copy link
Owner

Whole folder deletion is now possible. I will publish a new release soon.

In the File Search tab, an extra text input to search by file extension, with an option to select and delete selected items.

You can already search by file extension using the % wildcard. I will point that out in the README.
Multiple file selection in the File Search tab is also planned.

@MaxiHuHe04
Copy link
Owner

Not sure this is the same "ask" but I also think being able to "re-create" the backup unencrypted would be great- then we could use other tools to explore/access the content

@zzph Hey, could you create a separate issue/feature request for this?

@MaxiHuHe04 MaxiHuHe04 changed the title Ability to rebuild backup from extracted files? Ability to bulk-delete files and folders? May 23, 2023
@MaxiHuHe04
Copy link
Owner

@eduardosbrissia Here you are, I hope this helps: https://github.com/MaxiHuHe04/iTunes-Backup-Explorer/releases/tag/v1.4

@eduardosbrissia
Copy link

@eduardosbrissia Here you are, I hope this helps: https://github.com/MaxiHuHe04/iTunes-Backup-Explorer/releases/tag/v1.4
Thank you very much! I tryed to manage the lack of folder delete by using a macro tool that repeated the gests of deleting files one by one (~5000 times). But when I tryed to restore the "slim" backup, Itunes returned an error saying the "backup is corrupted". So I gave up and restored the older whatsapp android backup to my new android phone --- I lost one month of whatsapp messages during the period I was using an iphone. But I still very grate for you effort.

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

No branches or pull requests

4 participants