A little wordy, but adding an alias to .bashrc makes 'addtab' a nice, easy
to remember command. Thanks, Chris!

On Thu, Jul 8, 2010 at 12:54 PM, Chris Lee <[email protected]>wrote:

> On Thu, Jul 8, 2010 at 12:16 PM, Paul Spicer <[email protected]>wrote:
>
>> I have a folder of text files with no extension (named 101, 102, 103,
>> etc...) and I wanted to add an extension of .tab to them. So, in terminal, I
>> ran 'rename * *.tab *' and file 101 was deleted. Can anyone tell me why?
>>
>
> If you're using bash, the following should work:
>
> for x in *; do mv "$x" "$x.tab"; done
>
> Chris Lee
> I.T. Manager
> Lee Printing, Inc.
> (904) 396-5715 x 225
>
>
>
>

Reply via email to