Convert .odt .doc .ods files to .txt files

前端 未结 8 745
忘了有多久
忘了有多久 2021-02-05 09:21

I want to convert all the .odt .doc .xls .pdf files to .txt files.

I want to convert these files to text

8条回答
  •  忘掉有多难
    2021-02-05 09:36

    Open .ods file normally in libre office

    Highlight text to be converted

    Open a terminal

    Run vi

    Press "i" to get insert mode

    Press ctrl-shift-v

    Done!

    Need some formatting?

    Save the file as

    Get out of vi

    Run:

    $cat | column >filename2

    This worked in opensuse running KDE

    Substitute "kwrite" for "vi", if you want

提交回复
热议问题