![]()
Linux, Unix, /etc/$ To set up this Linux system, do I really have to type long,
cryptic, frequently inconsistent and undocumented commands with
occasional long strings of hex digits?
# Yeah. You got a problem with that?
|
Sponsored links (requires javascript):
#!/bin/ksh
#fixjpg: convert "Progressive" jpg files to normal jpg
for i in "$@"
do
if djpeg < "$i" | cjpeg >"$i.new"
then
mv "$i.new" "$i"
else
echo "fixjpg: failed on $i"
rm "$i.new"
fi
done