Nick_Battle |
11-15-2007 07:15 AM |
Quote:
Originally Posted by jhwilliams
(Post 2959361)
what on earth is going on here? The files are named like: 00007.jpg
|
Is "ls" an alias for a version which prints listings with pretty colours? (Try "alias" in bash to list your aliases). The --color argument to ls should not produce these escapes if the value is "auto" and the output is not a tty, but it might be "always".
If so, you can either remove the alias (only affects the current shell), or use /usr/bin/ls in the script instead of ls.
HTH,
-nick
|