I need to remove special characters from all .htm files in a directory.
Ideally I need to keep the file name but if I have to I can copy each file to 1 or something like that.
Here is the command I need to run on each file: tr '\015' '\n' < $filename > $filename.1
migrated from serverfault.com Jun 28 '14 at 19:09This question came from our site for system and network administrators. |
|
for file in /dir/* do your command done– NeplatnyUdaj Jun 27 '14 at 14:12