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] In result folder, create link instead of Copying the Media directory #131

Open
connect-mahdi opened this issue Feb 20, 2025 · 3 comments

Comments

@connect-mahdi
Copy link

connect-mahdi commented Feb 20, 2025

Is your feature request related to a problem? Please describe.

What a GREAT app !

The command $ wtsexporter -a needs to have a copy in it's working execution directory, of the "WhatsApp" Folder containing Media and Documents files. For example on Android it is located here: storage/emulated/0/Android/media/com.whatsapp/WhatsApp/
This directory might have a huge size, often several Gib.

During its execution, the above command's aim is Copying media directory... in the result folder, see command logs below:

Processing messages...(136878/136878)
Processing media...(16545/16545)
Processing vCards...(92/92)
Processing calls...(2765)
Generating chats...(522/522)
Copying media directory...

This creates a duplicate of an already huge folder. It takes a very long time and might break the process if the destination disk runs out of free space.

Describe the solution you'd like
It might be better to have the result folder to get access to the files, media, etc... of the copied WhatsApp folder through links and not it's duplication inside result

Thus, the working execution directory, let's call it working_wts like in Usage, would need the following files or folder:
wa.db
WhatsApp (folder)
whatsapp.cryptkey
contacts.vcf (as an option, see here)

Then upon execution, the result folder would be added in working_wts. And the .html files created would get the media shared in the extracted threads through links sourced from the WhatsApp (folder).
Hence, the working execution directory, let's call it working_wts would in itself become the outcome directory (exportable, compressed into .zip or .tar.gz , etc...

@KnugiHK
Copy link
Owner

KnugiHK commented Feb 21, 2025

Have you try the --move-media options?

Btw, were you intending to suggest the things in "additional context" to WhatsApp-Key-DB-Extractor?

@connect-mahdi
Copy link
Author

Have you try the --move-media options?

Thank you for pointing this. I'll take a look at the More Options Sections

I will try it as soon as I've got hold on new storage space :-)

@connect-mahdi
Copy link
Author

Btw, were you intending to suggest the things in "additional context" to WhatsApp-Key-DB-Extractor?

Yes, my bad @KnugiHK 👍 . I've removed the misplaced "Additional Context" and added it to a new issue there

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

2 participants