in reply to Re^2: [OT] Tar file with non-identical duplicate files and no paths?
in thread [OT] Tar file with non-identical duplicate files and no paths?

The reason you have all those multiple files is because of the sticky bit set:
rwSrwSrw-
The S means that they're immutable so the system creates new ones whenever you untar the files. I would suggest using a GUI and extracting the tar ball and copying just the files you need - after that you will need to modify the properties so that the sticky bit is unset (apologies for not finding an easy way out). Alternatively, you could write a perl script to grab the files you want and delete the folder after untarring (making sure the tar file is extracted into a new folder than in the current working directory).

Replies are listed 'Best First'.
Re^4: [OT] Tar file with non-identical duplicate files and no paths?
by broomduster (Priest) on Sep 13, 2008 at 12:59 UTC
    The reason you have all those multiple files is because of the sticky bit set
    Actually, S indicates (in this case) that the setuid and setgid bits are set AND that the file is not executable by either owner or group. The sticky bit governs certain access permissions for "other" (or "world") and is indicated by a t or T in the mode string. And none of this really has anything to do with "immutability" of files (which is governed by write permissions for the files and the directory they are being un-tarred to).

    See man pages for chmod, sticky and ls for the full story.