On Tue, Jul 29, 2003 at 02:20:13AM +0100, Colin Watson wrote: > > I think what you want then is an extra level of double quotes around the > backticks, thus: > > for file in *; do > cp "$file" "`echo "$file" | sed 's/^Copy of//'`" > done > > This is untested, though. > Would not the package mmv serve the purpose? I have used it to rename a bunch of mp3's with spaces in their names.
Regards, -- Sridhar M.A. Love is in the offing. Be affectionate to one who adores you. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]