Skip to content

Instantly share code, notes, and snippets.

@aaguilera
Last active February 1, 2022 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaguilera/029bde8120fe4fa5ca3efe4d43c77d6c to your computer and use it in GitHub Desktop.
Save aaguilera/029bde8120fe4fa5ca3efe4d43c77d6c to your computer and use it in GitHub Desktop.
Transforma un full de càlcul (XLS) a CSV amb Libreoffice amb sortida en UTF-8
#
# Adaptat d'una versió per a MacOS: https://gist.github.com/jhanschoo/bcd6d08d1e0f4b5d52735287f39ca924
#
# És de suposar que funcionaria amb tots els fulls de càlcul que suporti LibreOffice, no només amb XLS
libreoffice --headless --convert-to "csv:Text - txt - csv (StarCalc):44,34,76,1,1/1:" fitxer.xls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment