2020-05-04 23:01:31 +02:00
# from ods
2020-01-25 16:31:20 +01:00
2020-05-04 23:01:31 +02:00
Parses OpenDocument Spreadsheet binary data into a table. `open` calls `from ods` automatically when the file extension is `ods` . Use this command when `open` is unable to guess the file type from the extension.
2020-01-25 16:31:20 +01:00
2021-06-10 14:44:24 +02:00
## Flags
* -h, --help: Display this help message
* -s, --sheets \[\<sheet_name_1> \<sheet_name_2> ... \<sheet_name_N>]: Only convert specified sheets. Non-existing sheets are skipped.
2020-03-13 18:23:41 +01:00
## Examples
2020-01-25 16:31:20 +01:00
2020-03-13 18:23:41 +01:00
```sh
2020-01-25 16:31:20 +01:00
> open abc.ods
─────────────────
2020-03-13 18:23:41 +01:00
Sheet1
2020-01-25 16:31:20 +01:00
─────────────────
2020-03-13 18:23:41 +01:00
[table 26 rows]
2020-01-25 16:31:20 +01:00
─────────────────
2020-06-23 20:21:47 +02:00
```
```shell
2020-01-25 16:31:20 +01:00
> open abc.ods --raw
Length: 4816 (0x12d0) bytes
0000: 50 4b 03 04 14 00 00 00 00 00 00 00 00 00 85 6c PK.............l
0010: 39 8a 2e 00 00 00 2e 00 00 00 08 00 00 00 6d 69 9.............mi
0020: 6d 65 74 79 70 65 61 70 70 6c 69 63 61 74 69 6f metypeapplicatio
2020-03-13 18:23:41 +01:00
...
2020-01-25 16:31:20 +01:00
12a0: 00 61 10 00 00 4d 45 54 41 2d 49 4e 46 2f 6d 61 .a...META-INF/ma
12b0: 6e 69 66 65 73 74 2e 78 6d 6c 50 4b 05 06 00 00 nifest.xmlPK....
12c0: 00 00 06 00 06 00 5a 01 00 00 60 11 00 00 00 00 ......Z...`.....
2020-06-23 20:21:47 +02:00
```
```shell
2020-05-04 23:01:31 +02:00
> open abc.ods --raw | from ods
2020-01-25 16:31:20 +01:00
─────────────────
2020-03-13 18:23:41 +01:00
Sheet1
2020-01-25 16:31:20 +01:00
─────────────────
2020-03-13 18:23:41 +01:00
[table 26 rows]
2020-01-25 16:31:20 +01:00
─────────────────
```