View Full Version : [all variants] [SOLVED] How to print a listing in a directory
Mark_in_Hollywood
September 24th, 2008, 10:50 PM
I have saved several hundred .pdf files downloaded from various sources. I want to print the names of the files. I don't find a "print directory" feature in Ubuntu.
I'ld prefer not to do a screenprint as I'll have multiple overlapping screens, an environmental waste.
I'm using Gnome for a desktop & file manager.
eentonig
September 24th, 2008, 10:54 PM
There's probably a command to print from the cli, but I hardly ever print something, so I wouldn't know. But as a workaround, I can give you
ls >> filetoprint.txt
This will put the output of the ls command in the file 'filetoprint.txt'. I guess you can figure out the rest...
silverglade00
September 24th, 2008, 10:54 PM
Open up terminal and type these in one at a time, pressing enter after each one:
cd Desktop
ls > files.txt
Then double-click the files.txt and print it.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.