Print each file in a directory

1 view
Skip to first unread message

Soumay Kumar

unread,
Feb 23, 2013, 1:59:18 PM2/23/13
to purd...@googlegroups.com
Hello

Does anybody knows how to print all the contents of a directory through a linux command.

I am using the following comand but all it does it print the list of all the files in the directory.

lp -d pollox print

Where lp is the print command, -d is destination to printer name which is pollox here and print is the name of the directory.


Thanks

--
Soumay

Alex Bartol

unread,
Feb 23, 2013, 2:09:52 PM2/23/13
to Purd...@googlegroups.com
$ lp ./*
--
You received this message because you are subscribed to the Google Groups "Purdue Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to PurdueLUG+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages