On Mon, 14 Jan 2008, Sergey Poznyakoff wrote: > 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.
Ok, thanks. > > > 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. Ok, I think either of those will mess up the structure. I think I can manage without these files now that I have looked : they seem to be part of Sun Workshop builds, which will be no use on Windows, (or the other unix systems I may migrate to later). > > 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. NTFS, Windows XP, Cygwin. > > Regards, > Sergey > Thank you. Hugh
