mtf, part 1 of 2

Wietse Venema wietse at wzv.win.tue.nl
Tue Jan 22 08:29:45 AEST 1991


goer at quads.uchicago.edu (Richard L. Goerwitz) writes:

>Ever get a tar file stuffed with source files having 15+char
>filenames, and find that you have to go through the entire
>archive, renaming and grepping through source files to get
>things to work?
>
>Try this.

Another program that deals with the problem is pax, posted to
comp.sources.unix (Volume 17, Issue 74) from Mark H. Colburn
<mark at jhereg.jhereg.mn.org>. Pax is a (us)tar/cpio hybrid with
several extensions to both (such as multi-volume backups).

>From the man page:

     -i        Interactively rename files ...

     -s replstr
               File names are modified according to the substitu-
               tion  expression  using  the  syntax  of  ed(1) as
               shown:

                         -s /old/new/[gp]
 
               Any non null character may be used as a  delimiter
               (a  /  is  used  here as an example).  Multiple -s
               expressions may be specified ...



More information about the Alt.sources.d mailing list