Joćo Figueira
09-07-2001, 11:07 AM
Hello all
Is there a way to count all the files in a directory? I have a directory with many files but I can't say how many.
And another thing:
How can I rename many files in a dir?
let's say I have a dir full of *.txt~ and would like to change all the files with that extention to *.txt.
In msdos I would write the command 'ren *.txt~ *.txt'. Is there a way to do the same in Linux?
Thank you
Joćo Figueira
Is there a way to count all the files in a directory? I have a directory with many files but I can't say how many.
And another thing:
How can I rename many files in a dir?
let's say I have a dir full of *.txt~ and would like to change all the files with that extention to *.txt.
In msdos I would write the command 'ren *.txt~ *.txt'. Is there a way to do the same in Linux?
Thank you
Joćo Figueira