carderne / signal-export

Export your Signal chats to markdown files with attachments
Other
436 stars 46 forks source link

Readlink illegal option error on MacOS when running the helper script #55

Closed vonknio closed 1 year ago

vonknio commented 2 years ago

Looks like the MacOS readlink does not support the f option. This is the error when running the signalexport function from helper.sh:

readlink: illegal option -- f
usage: readlink [-n] [file ...]

Using MacOS 12.1.

carderne commented 2 years ago

Can you check if realpath works? Eg:

realpath ~/Documents/path/to/directory

It should print the full directory without the tilde ~.

carderne commented 2 years ago

(And hope that there are no symlinks.)

carderne commented 1 year ago

This was fixed/changed in https://github.com/carderne/signal-export/commit/2c29b9f969f7505d8808c376601e4a90909c34c2