{"id":8743,"date":"2016-12-28T15:30:07","date_gmt":"2016-12-28T14:30:07","guid":{"rendered":"http:\/\/www.wjst.de\/blog\/?p=8743"},"modified":"2016-12-28T15:30:29","modified_gmt":"2016-12-28T14:30:29","slug":"convert-all-odt-to-doc","status":"publish","type":"post","link":"https:\/\/www.wjst.de\/blog\/sciencesurf\/2016\/12\/convert-all-odt-to-doc\/","title":{"rendered":"Convert all .odt to .doc"},"content":{"rendered":"<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nfind \/Users\/wjst\/Desktop -type f -name &quot;*.odt&quot;&gt; \/tmp\/out\r\nSAVEIFS=$IFS; IFS=$(echo -en &quot;\\n\\b&quot;); while read line ; do cd $(dirname $line); \/Applications\/LibreOffice.app\/Contents\/MacOS\/soffice --headless --convert-to docx $(basename $line); echo $PWD; cd -; done &lt; \/tmp\/out; IFS=$SAVEIFS\r\n<\/pre>\n<p>modified after <a href=\"http:\/\/askubuntu.com\/questions\/465988\/convert-multiple-document-files-inside-their-current-folders\">http:\/\/askubuntu.com\/questions<\/a><\/p>\n\n<p>&nbsp;<\/p>\n<div class=\"bottom-note\">\n  <span class=\"mod1\">CC-BY-NC Science Surf , accessed 01.05.2026<\/span>\n <\/div>","protected":false},"excerpt":{"rendered":"<p>find \/Users\/wjst\/Desktop -type f -name &quot;*.odt&quot;&gt; \/tmp\/out SAVEIFS=$IFS; IFS=$(echo -en &quot;\\n\\b&quot;); while read line ; do cd $(dirname $line); \/Applications\/LibreOffice.app\/Contents\/MacOS\/soffice &#8211;headless &#8211;convert-to docx $(basename $line); echo $PWD; cd -; done &lt; \/tmp\/out; IFS=$SAVEIFS modified after http:\/\/askubuntu.com\/questions &nbsp; CC-BY-NC Science Surf , accessed 01.05.2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-8743","post","type-post","status-publish","format-standard","hentry","category-computer-software"],"_links":{"self":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/8743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/comments?post=8743"}],"version-history":[{"count":3,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/8743\/revisions"}],"predecessor-version":[{"id":8746,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/8743\/revisions\/8746"}],"wp:attachment":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/media?parent=8743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/categories?post=8743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/tags?post=8743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}