[gedit-list] use gedit as a convert in batch file
- From: "Michael Chen" <vancouver michael gmail com>
- To: gedit-list gnome org
- Subject: [gedit-list] use gedit as a convert in batch file
- Date: Wed, 26 Nov 2008 02:44:31 -0500
Hey there,
I have about 700 weird files. Gedit can open it as a text file. "more"
shows nonASCII characters on screen at the beginning of the file. The
command "file" shows totally wrong information:
MPEG ADTS, layer I, v1, 96 kBits, 48 kHz, Stereo
However if I open a file using Gedit, and save as another file. The
weird phenomenon disappear. Both "more" and "file" show it as pure
text file.
So my question is how to write a batch file to let Gedit open all of
my files, and save them under different names. Any ideas?
Thanks!
--
Best regards,
Michael Chen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]