Hugh Sasse <[EMAIL PROTECTED]> ha escrit: > I'm not entirely sure what this means. Does it mean > > * the job completed successfully apart from the earlier errors, > which now give this error exit.
Yes, exactly that. > Can I tell tar to truncate filenames that are too long (possibly > being warned if there are collisions as a result? There are two options that could be used for that: 1. `--strip-components', that removes the specified number of directory components from a file name (this option works when extracting from archive), and 2. `--transform' option that alters file names according to a sed-like expression (this option can be used both when creating and when extracting). E.g. the command tar -cf archive.tar --transform 's,.*/,,' removes all directory components from file names before storing them into the archive. For a detailed description, see http://www.gnu.org/software/tar/manual/html_node/tar_107.html > Do I need to do that at creation? It depends a great deal on where you plan to extract your archive. Regards, Sergey
