I am creating a program that takes a hexdump of a file, so that I can then transmit that somewhere, and have the file reconstructed, however the hexdump is only of the file contents, I also need to get the file properties, so where do I get the properties of that file, and then apply them to the new file that I create from that hexdump? I am using bash for this, but it's not really about the code, but more about where to find it, although you could it's about the code because obviously I am going to need some commands. I am running Ubuntu GNOME 15.04, with GNOME Shell, and GNOME 3.16.