I want to see the log file of MongoDB I have downloaded from MongoDB but when I opening I can see something encrypting text there so I am not able to understand.
please tell me how I make it readable or if I am doing anything wrong please make me correct
I think .gz is a Linux compressed file that you are trying to open in Notepad.
Convert your file to .zip using for example https://convertio.co, and try to open it.
Maybe you will see the right file?
Related
So right now i'm working on creating an xlsx from scratch. Ive decided to dive right into the zip and replicate it through code. I've literally just copied and pasted everything exactly the same just changed the data on the backend.
I've noticed a very weird bug that seems to break the xlsx file after repacking it as a zip.
when I wrote my .rels.xml file in the back end and open it up via Browser it seems to display .rels.xml as normal.
However After going back into the original .rels.xml file of the original xlsx it is displayed as plain text, and after copying the file to the folder theres no "Would you like to replace the file" prompt almost as if it was a completely different name. Lastly it seems copying this .rels.xml from the original over to my backend , the xlsx seems to want to actually open.
Any clues as to why this behavior occurs?
EDIT: Seems like the same thing happens to the workbook.xml in the xl/_rels directory. I really have no clue why it does this... i'm not sure if its just because of the odd naming senses or not...
Not really sure what you want to achieve. Why are you not using a library that can work with the xlsx files? It is not a good idea to manipulate the xml unless you are absolutely sure what you are doing. Anyway if you still want to try use Notepad++ as the editor might change the xml encoding without warninig you. Also when you zip back use 7-zip and choose "store" or "normal-deflate" zip.
edit: I see now that you edit the xmls through code. So forget about notepad but keep an eye on the encoding
I recently moved some text files from my desktop to external hard drive.
I guess some of the files crashed, and they are recognized as binary files.
When I 'less' them, it says "may be a binary file. See it anyway?".
And when I 'file' them, they look as data files.
Has anybody fixed this problem?
Thank you.
So, I decompressed an exe file and modified it, and I want to recompress it back to exe form, not an SFX archive.
I can't find an internet solution for my problem, all of the posts I look at talk about recompressing to an SFX file, which I do not want to do, I want to convert it to a fully working exe.
I think you are looking for IExpress.exe: https://www.maketecheasier.com/create-self-extracting-archives-without-installing-software/
Modifying a binary file without breaking it requires a knowledge of hex or assembly. You can't just decompress and compress it back.
How ever there are tools that has ability to make some minor changes to an exe file. This one is an example. Those tools can only alter exe file's resources like icons, some of the texts, images etc.
Hope this helped.
Hi I have a complex CSV file, I would like to be able to open/edit this file so it fits an ELFF format,
im new to Centos / Linux in general. is there a way to open my CSV file so I can edit it to fit the ELFF format from the command line? or an application I can install todo this?
Thanks for all the help
I was being a bit of an idiot, I just used vi (I know this isn't really the place for this question) but just incase anyone else wanted to know the answer.
I have try to transfer a image file using ftp command in linux, from linux platform to windows platform, doing like this:
ftp cs.unitbv.ro
ascii
get test.jpg
After this, when I open the image it says that the file is corrupted. If somebody know how to repair the image file let me know.
Thanks
transfer it as binary otherwise it will get corrupted as newlines are converted, for example.
Try transferring it using binary mode.