abiword --to=sxw [nom-du-fichier.abw]
soffice -writer -o [nom-du-fichier-converti.sxw]
#! /bin/sh
if [ $# -eq 0 ]; then
echo "Usage:" `basename "$0"` "file1 file2 ... fileN"
exit 0
fi
for file in $@
do
if [ -f "$file" ]
then
echo -n "Converting '$file' ... "
abiword --to=sxw "$file"
[ $? -eq 0 ] && echo "OK" || echo "fail"
else
echo "'$file' is not a regular file" >&2
fi
done
It looks like you're new here. If you want to get involved, click one of these buttons!