top in Batch Mode
Run top in batch mode
top -b -d 10 -n 3
Run top in batch mode
top -b -d 10 -n 3
An easier way to batch convert images using the ‘convert’ command…
#!/bin/sh
# An Easy command to use the convert command. Makes sure that the rename problem don't happen
if [ ! -d "Out" ]; then
mkdir Out
fi
sel="*.*"
if [ # -eq 2 ] ; then
sel=2
fi
for i in sel; do
echo -n "Convertingi ... "
convert 1i Out/$i
echo "Done"
done