Mark Hobley
2005-10-31 00:08:03 UTC
I am using the Almquist Shell (sh).
What is the most simple way to strip spaces from a batch of files in a
directory.
For example:
"your file 1.txt" should be renamed "yourfile1.txt".
There are a couple of thousand files that need renaming.
I have found a perl script, but I want to do this without invoking perl or
bash.
I also would like a modified version of the same script that removes underscores.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE
Telephone: (0121) 247 1596
International: 0044 121 247 1596
Email: markhobley at hotpop dot donottypethisbit com
http://markhobley.yi.org/
What is the most simple way to strip spaces from a batch of files in a
directory.
For example:
"your file 1.txt" should be renamed "yourfile1.txt".
There are a couple of thousand files that need renaming.
I have found a perl script, but I want to do this without invoking perl or
bash.
I also would like a modified version of the same script that removes underscores.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE
Telephone: (0121) 247 1596
International: 0044 121 247 1596
Email: markhobley at hotpop dot donottypethisbit com
http://markhobley.yi.org/