Am Freitag, 12. Mai 2006 11:58 schrieb Roberto C. Sanchez:
> > Suppose I have in a directory a certain number of files,
> > all terminating with `.txt', and that I want to eliminate
> > that suffix from all of them.
> > Is there a Unix command, or perhaps a set of commands,
> > that can do so?
> > 
> 
> rename 's/\.txt//' *.txt

I might be a good idea to use
        rename 's/\.txt$//' *.txt
(Just a detail).

Tim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to