In article <1990May26.182215.27766 at tukki.jyu.fi> I wrote: >>How can I copy them to files with another root name while keeping the >>extensions? >ls foo.* | sed 's/foo\(.*\)/mv foo\1 bar\1/' | sh ^^ Should've been "cp" of course. -- Tapani Tarvainen (tarvaine at jyu.fi, tarvainen at finjyu.bitnet)