---
title: "Comment by kimtai ferragamo on \"Using CLI tools to manage audio, video, images and PDF files\" | Hashnode"
description: "Hi, do you have a script to convert a pdf or long news article to audio?"
url: "https://hashnode.com/posts/multimedia-cli-tools/63a0ab944a4f7c1536b52262/comment/64f98a15c035cd988c324521"
---

[Discussion](https://hashnode.com/posts/multimedia-cli-tools/63a0ab944a4f7c1536b52262)

Comment [Using CLI tools to manage audio, video, images and PDF files](https://hashnode.com/posts/multimedia-cli-tools/63a0ab944a4f7c1536b52262)

[kimtai ferragamo](https://hashnode.com/@iatmik)

[Sep 7, 2023](https://hashnode.com/posts/multimedia-cli-tools/63a0ab944a4f7c1536b52262/comment/64f98a15c035cd988c324521)

Hi, do you have a script to convert a pdf or long news article to audio?

[Victor Miti](https://hashnode.com/@vix)

[Oct 9, 2023](https://hashnode.com/posts/multimedia-cli-tools/63a0ab944a4f7c1536b52262/comment/64f98a15c035cd988c324521#reply-652474e926120dd7075b08b3)

Hi [kimtai ferragamo](https://hashnode.com/@iatmik), you could use [pdftotext](https://www.xpdfreader.com/pdftotext-man.html) to get text from a pdf, then use a text-to-speech tool such as [e-speak](https://itsfoss.com/espeak-text-speech-linux/) (though the results from e-speak aren't very good. I'd recommend using professional tools such as [AWS Polly](https://aws.amazon.com/polly/), which is scriptable. I used it in [this project](https://github.com/engineervix/zed-news), which I wrote about [here](https://importthis.tech/building-zed-news-an-automated-news-podcast)).
