0
HTTP File Server or HFS is a small utility which allows one to share files with others by creating http links for every file
Now when I want to download multiple files, the software creates a "tar" file with the selected files
Now my question is, when I'm creating a tar file, are the files duplicated? Do I need double the space?
For example, when I'm zipping 3 files of 1 MB each into an archive, a new file is created of say 2 MB which contains the original files. So total space required is (3 + 2) MB = 5 MB
Does the same thing happen when creating tar files?
So therefore, it is just a container but it makes copies of the original files. Am I correct? – xavier666 – 2014-01-28T15:26:36.000
@xavier666 Exactly. Usually the tar files, for put more info here, are used with another extension "tar.gz" or "tar.bz2" wich is a tar file, but passed by a compressor, making one "zip, rar..." effect. – gabrign – 2014-01-28T15:32:34.677
Because you mention HFS, use the tar distributed with OSX, and not one you may add on with, say brew, macports, or fink. I believe those that are not native to OSX fail to archive the ACL, which could lead to issues down the road, especially with security. So if this concerns you, do a
which tar
to verify that yours comes from/usr/bin
and not, for instance/sw/bin
. – Billy McCloskey – 2014-01-28T16:01:26.307...the implication and by inference, also, is that the tar distributed with OSX should generate a tar file which is slightly larger than the aforementioned, because it does include the ACL. – Billy McCloskey – 2014-01-28T16:25:31.280
Tape Archive. Contains headers to separate the files and the file contents. Think of it as a big concatenate with separators. – Fiasco Labs – 2014-01-28T17:48:54.030