Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to convert a pdf file on my desktop to a text file on my desktop using pdftotext in a terminal as follows: pdftotext Test.pdf Test.txt
The result is
I/O error: Couldn't open file 'Test.pdf': No such file or directory.
I also tried: pdftotext /home/desktop/Test.pdf /home/desktop/Test.txt
My impression on reading about pdftotext was that the application opens the pdf file and I don't need to install a pdf reader.
I guess I'm too new with this but I thought that /home/desktop/file was the full path. Can you help me out here?
Yup that's a absolute (full) path.
But the error isn't that it cannot decode it, it's that the file doesn't exist at the location you specified.
make sure it's 100% correct, using autocomplete (tab) to help. Remember, case is sensitive in linux.
Welcome to the wonderful world of Linux and to LQ.
Linux is not hard, but it is different; it can be made to look like Windows on the surface, but, under the hood, it does not work like Linux. Expect it to be different, and you'll do just fine.
About dot com had a pretty good site about Linux; it's designed for new and intermediate users. You might also check out Going Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.