-
Notifications
You must be signed in to change notification settings - Fork 5
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
How to mount without id file tag? #11
Comments
this is a great example why #4 is a good idea |
Hi! Yes I watched this post, but doesn't work for me, maybe I dont use correct format: tgmount --format '{msgid}{filename}' mount ............. /mnt/......... Where I should write this argument correctly? Thanks in advance. |
Hi! Apologies for the delayed response. If you remove the leading message id, there is a high possibility of file names collisions: documents with identical file names may appear in a chat more than once. Additionally, some documents do not have specific file names and are assigned generic names like To address this, we could have used a prefixed name for a repeating file name, such as:
However, if second message is removed, the file names would become: After tgmount restarted this will turn into: Therefore, this requires saving the mapping file names are defined in this file, but tgmount internals expect file names to be unique so far tgmount-ng/tgmount/tgclient/guards.py Line 278 in 71e2ed8
|
Thank you so much for your response. Yep, I understand everything, but for my case, it is mandatory that the file names hasn't have a prefixed name to do a library can read from mount group. So I can been careful to the files inside of group to do this application. I'll try your changes for my application. Kind regards. |
@radebla, Best Regards |
Hi all!
Thank you so much for your program and code, it is excellent.
When I mount a group or a chat I'd like view files without id file tag --->123_filename.ext ; I want ---> filename.ext
I'm still diving on the code and don't find the way to delete it, change it or move the id file tag to an other position like ---> filename_123.ext
Anyone can help me? Thanks in advance!
The text was updated successfully, but these errors were encountered: