The tar archive will include directory names. The output from "find ... -type f" will not include directory names.
In a tar archive, then entry for a directory is just a header with the directory name and its attributes. The actual directory content (file names, inode numbers, ...) is not stored there. The actual directories on the disk do include that information. Usually, though, the tar archive is somewhat larger because every name in that archive has a 512-byte header. But, a directory that at one time contained a large number of entries can be quite large on the disk. A directory never shrinks when files are deleted. That excess space would not be present in the tar archive.
|