You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
smol_scriptz/convert.sh

11 lines
215 B

#/bin/bash
for file in *;
do
base=${file%.*}
if [ ! -f $base.csv ]; then
echo '[!] Doesnt exists... Creating!'
soffice --headless --convert-to csv $base.xlsx;
fi
done
echo '[*] Done!'