Using the command "mmv": mmv "prefix-*" "#1" This would strip "prefix-" from the beginning of each file. On Mon, Nov 22, 2004 at 12:57:40PM -0300, Fabio Zyserman wrote: > Hi all, > > I have some files in a directory, called > prefix-file1 > prefix-file2 > etc > > I want to rename them to > file1 > file2 > etc > > How can I do it with a bash command? > > Many thanks in advance, > > Fabio Zyserman > - > : send the line "unsubscribe linux-admin" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html