The tag has no usage guidance.

learn more… | top users | synonyms

65
votes
12answers
12k views

Why are hex editors called binary editors?

Hex and binary are two different bases. Hex, in my understanding, is simply an easier to use and more convenient version of binary. However, I often hear that hex editors are binary editors. If ...
0
votes
1answer
21 views

Version control for audio files

What is a good approach for version control of audio files? I have a 20GB library of audio lectures to tune up and bring in to a state ready for releasing and sharing. It's important to keep the ...
0
votes
0answers
20 views

Split binary data file by AOB

I have a file with the following magic AoB that acts a separator: 00 07 77 77 77 77 77 77 77 77 77 77 77 77 77 77 00 07 77 77 77 77 77 77 77 77 77 77 77 77 77 77 Is there any utility or quick way ...
0
votes
2answers
37 views

Can PDF Annotations Be Exported and Then Imported Back?

I have a few hundred pages of highly annotated PDF file, which is mostly text, in the form of underlines, highlights, and (more) text annotations. After two years, a updated version of that document ...
1
vote
1answer
140 views

how to get from a .exe (executable file) the version, author, publisher etc and other meta data without running the .exe

How do I find out details of a .exe file - e.g. Software Author, Vendor, Date, Version etc? When I right click on the file and select properties, I don't get this information. However, if I upload ...
166
votes
11answers
242k views

How do I compare binary files in Linux?

I need to compare two binary files and get the output in the form <fileoffset-hex> <file1-byte-hex> <file2-byte-hex> for every different byte. So if file1.bin is 00 90 00 11 in binary ...
9
votes
4answers
5k views

How to compare mp3, flac audio data in a file, ignoring header data (ID3 tag) etc.?

I've backed up some audio files up in 2 places and added ID3 tags into one backup but not the other, since time has passed my own memory has faded on whether the backups are actually the same, but now ...
-1
votes
1answer
64 views

dos2unix command is corrupting the file with unicode characters downloaded via binary mode

i downloaded an xml file having unicode characters from ftp in binary transfer mode. In order to remove the line ending special characters i used the command dos2unix. But this is making the file ...
-8
votes
1answer
73 views

Basically Everything [closed]

Okay, I just started looking at tutorials online and doing Codecademy, CodeSchool, Linux Academy, Cybrary.it, etc, etc. but I still don't understand most of the solutions/questions people discuss on ...
3
votes
2answers
3k views

What is the “blob:http://” prefix and where can I learn more about this?

I'm using safari, and unsure if this works in other browsers, but when I signed up for a storm path account, I see the following URL blob:https://api.stormpath.com/1be95204-93d6-4GUID HERE The blob:...
0
votes
0answers
23 views

How to extract Shift-JIS strings from binary in Windows 8?

How can I extract Shift-JIS strings from a binary file in Windows 8? I'm looking for actual words in a binary file. So not just meaningless combinations of characters. Other Japanese character ...
1
vote
2answers
25 views

How to figure out which (potentially uninstalled) port provides a command in FreeBSD?

make search name=X and make search key=Y don't seem to find command names reliably, especially not if they aren't mentioned in the port's description. In Debian-based systems there's apt-file which ...
1
vote
1answer
99 views

How to send a delta (differential part) of a large binary file over the Internet?

I have sent a large (>1GB) binary file to a friend over a slow metered data plan and now I need to send the second version of the same file only slightly changed. I want to send only the delta/diff-ed ...
0
votes
1answer
100 views

Where can I find an RRD file specification?

I'm trying to write a Python program to directly pull information from RRD performance files stored on our servers at work, but the files aren't stored in plaintext format, and I cant find any ...
3
votes
2answers
70 views

make file size at least 1MB

I'm trying to learn about operating systems by making one myself and testing it in virtual-box, but VBoxManage convertfromraw doesn't allow my source file to be very tiny (512B). Are there any bash ...
3
votes
1answer
605 views

Delete /usr/bin/emacs - Operation not permitted

I was about to reinstall Emacs from railwaycat/emacsmacport when I stumbled upon /usr/bin/emacs, /usr/bin/emacsclient and /usr/bin/emacs-undumped. angrybacon@sandman ~/ $ ll /usr/bin/emacs* -r-xr-xr-...
0
votes
1answer
116 views

How do I create a binary file?

I wrote something that I think parses bits from a file, but now I need to test it. I'd like to create a file that I know has bits in a certain order. Something like: 000010000000000000000000000100000 ...
0
votes
1answer
57 views

Changing text in binary files

While looking inside a binary file in a text editor, I came across some readable text. I have executed the binary before, and know that the readable text is echoed on screen. Is it possible to remove ...
2
votes
1answer
728 views

Is it possible to decode 'octet stream' .bin file?

Tidal.com streams flac files, but it does not provide with file download, which is what I want. As you would expect from a big company such as Tidal, upon my inquiry, its support service in an utmost ...
0
votes
2answers
501 views

Why does Mercurial think my source files are binary?

I've been working on a programming project in Notepad, so far. Today, I opened my source files in an IDE to debug one thing, and the IDE converted saved my files as binary (or so Mercurial reports, ...
10
votes
3answers
3k views

Why can't we understand the content of a binary file after compiled?

As far I know, every program consists of a pack of processor instructions with some specific data variables(float, int, char...) to work on the processor registers. So, the first thing that I ...
-4
votes
1answer
293 views

How to open a file in binary format.(1's & 0's)

I want to open files in binary format. I want to see binary code, not hex. And want to edit in binary format and ability to save changes. What is the best application to do this or is there any easy ...
0
votes
0answers
62 views

Invert all bits in a file

I’m looking for a way to invert all bits in a file, preferably using Windows-integrated tools. How do I go about doing that? In essence, a file with contents 1100101 would become 0011010.
0
votes
0answers
102 views

What is the difference between .mbin and .bin?

I got a .mbin file this morning. As a newbie and just out of curiosity, is there any difference between .mbin and .bin? If no, is that OK to swap .mbin with .bin in file name? If yes, what are the ...
0
votes
1answer
72 views

Concatenate four binary files using alternating pattern in Linux

I need to concatenate four binary, meaning non-text files. Lets say I have four files: file1: AAAA file2: BBBB file3: CCCC file4: DDDD Now I want my resulting file to look like: ABCDABCDABCDABCD. ...
0
votes
1answer
348 views

How to install “elastix: a toolbox for rigid and nonrigid registration of images” in Mac OS X 10.10 (Yosemite)

I have downloaded Mac OS X 64 bit binaries for Elastix and tried to run ./elastix in Mac OS X 10.10 (Yosemite): $ cd elastix_macosx64_v4.7 $ tree . ├── CopyrightElastix.txt ├── bin │   ├── elastix │  ...
-1
votes
1answer
67 views

How accurate is content sniffing in order to determine filetype?

I need to identify the mime-type of extensionless files(document fileformats such as PDF, doc, docx etc), and I am wondering how accurate known file-signatures are? What I will do is to create a map ...
1
vote
1answer
3k views

Merge 3 ISO file segments into 1 complete ISO file

I need to merge 3 ISO files from Dell website and they state the following: Download all ISO file segments into an empty subdirectory on your local hard drive. After you have downloaded all ...
2
votes
2answers
385 views

Encode binary file as text on Windows 2000+ using built-in tools

I have remote desktop access via Citrix to a remote server running Windows 2000. The server does not have any kind of internet access. The only way of getting data across is copying text through the ...
0
votes
1answer
161 views

How to grep for line numbers in a binary file?

I'm on Centos 5 Linux and using GNU grep v2.5.1 and looking at a 36GB log file. It is huge and I need to find around a million lines starting from the occurrence of a string 6307459 in the log file ...
1
vote
1answer
136 views

Prompting for sudo password in a setuid root binary

I have a setuid root binary, with_sudo.bin, with the following source code: /* with_sudo.c */ #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <stdlib.h> ...
1
vote
2answers
807 views

is it possible to reverse xxd to get original file from binary file

i have been using xxd to create a hexa representation of a file(any file like .jpg, .docx, .zip etc), like this,.. $ xxd -p original_file.zip > hexa_format.txt and to reverse $ xxd -r -p ...
1
vote
1answer
409 views

Linux setcap and changes made to the executable

A program that I am developing uses raw sockets. For security reasons to run a program that uses raw sockets, the program has to be run under a user with effective ID 0 (root?) or have the capability: ...
4
votes
1answer
3k views

What is a 8086 relocatable?

I'm running some Fortran software (LBLRTM) and a shell-script that prepares input generates a number of files with names TAPE3, TAPE4, etc. For debugging purposes, I used file to identify the file ...
1
vote
1answer
81 views

./install_bam.sh and i get an error stating "cannot execute binary file

I am trying to install a software through PuTTY. When I try to execute the chmod +x ./install_bam.sh command to obtain the permission to run the ./install_bam.sh and I get an error stating cannot ...
1
vote
3answers
220 views

Untar after uploading to linux from windows

I have created tar.gz from my linux server, and I downloaded the same to my linux system and I successfully doen untar with tar -xvf package.tar.gz. And now my issue I downloaded same package.tar....
1
vote
2answers
816 views

How do binary files run on different machines? [closed]

I always wondered about how executable binary files actually work. Compilation is always stated as taking the source code and translating it to machine language But what does that really mean? ...
0
votes
4answers
372 views

Why would a compiled and linked high-level language execute slower than Assembly/machine code? [closed]

Say I compile and link C in to a flat binary or some executable output format to run on a bare machine. If I optimized and fed the direct binary to the CPU upon boot up, why would the resulted format ...
1
vote
2answers
231 views

How can I replace icons of an application's executable?

I have an application whose executable contains some default icon. Now, I know I can use a shortcut with whatever icon I want, but what I'm looking to do is change the icon without the executable ...
3
votes
4answers
861 views

Why does zipping a zipped file not reduce its size?

Based on the idea that a zipped file is a new binary file, why can't I reduce a Zip's size by zipping it again and again – up to a very small resulting file?
0
votes
1answer
128 views

running sac2xy returns sac2xy: cannot execute binary file on osx 10.9

I have a Python script for plotting data which uses sac2xy, but it gives an error when running sac2xy: sh: sac2xy: command not found the relevant part of code is : os.system("sac ./tmp/sac.m") os....
4
votes
1answer
2k views

permission for the `www-data` user to execute a binary file

How can I give permission for the www-data user of Ubuntu machine to execute a command installed in /usr/local/bin ?
8
votes
2answers
36k views

How to solve: -bash: : cannot execute binary file

I have a file named b1 that contains assembly language. I am trying to execute the file on OSX using $ ./b1 I get the following error: -bash: ./b1: cannot execute binary file I've looked at ...
0
votes
1answer
932 views

How to version large binary files?

I run Windows XP inside a virtual machine for some tasks. I attempted to use git to version the image for virtual box; however, it is about 6GB after all the service packs. I only have 6GB of ram ...
1
vote
1answer
3k views

Concatenate binary files in windows (Without command line)

I'm trying to prepare a process for copying the video files off of a recorded DVD (we made the recording, and it's not encrypted). The method of copying the VTS_*.VOB file works when the recording is ...
1
vote
1answer
6k views

Extract the contents of ELF and write to binary file

I have been trying to extract the contents of a firmware and putting it to a binary file, but with no success. I see the right hex contents, but am not sure how to laid them in bits into a file. ...
0
votes
4answers
7k views

How do you obtain 'raw binary dump' of a file?

I came through it in a question - What in the world is a .el8 file?. I am curious how @slhck determined that the file in question was pointing to the software - eLecta
2
votes
0answers
105 views

How can I prepend a byte to the beginning of a binary file in windows? [closed]

I have a binary file and I want to add a specific byte to the beginning of this file. How can I do it?
0
votes
1answer
405 views

Cinerella linux video editor binaries? Can't compile

I can't compile Cinerella 4.4. Last messages I get from the compiler are below. 1) How can fix the compilation? Seems like some GCC or lib incompatibility. I use Ubuntu 12.10. 2) Can I get Cinerella ...
0
votes
0answers
486 views

Is there any tool for decompiling raw binary files to C code for the Motorola 68000 processor series?

I have the ROM dump (.bin files) targeted for the MC68008 processor. Need to convert them into a high level source code. I have already found tools for disassmbling them into assembly code. The next ...