On Fri, 11 Dec 2015, Steve Dum wrote:
> Here is something that might get you what you want
> Say you want to list all directories under directory foo
>find foo -type d
Yet, 'ls -d */' is simpler still for listing all directories in the
current directory.
Rich
> "John" == John Jason Jordan writes:
John> I wish to print a list of directories (but not the files or
John> subdirectories contained in the directories) on Xubuntu 12.04 (up
John> to date). I normally use the GUI file manager Thunar, but it has
John> no menu item to
On Sat, 12 Dec 2015, Bill Morita wrote:
> What about using "tree" ?
Bill,
According to the man page it produces a list as a tree of all directories
and the files in each. John want(ed|s) to list only subdirectories under the
current working directory.
Thanks for making me aware of tree.
What about using "tree" ?
-- Bill Morita
512-569-6387 (Cell)
On Sat, Dec 12, 2015 at 1:47 AM, Steve Dum wrote:
> John,
> Here is something that might get you what you want
> Say you want to list all directories under directory foo
> find foo -type d
> this just print
There is an option to show only directories
-- Bill Morita
512-569-6387 (Cell)
On Sat, Dec 12, 2015 at 7:58 AM, Rich Shepard
wrote:
> On Sat, 12 Dec 2015, Bill Morita wrote:
>
> > What about using "tree" ?
>
> Bill,
>
>According to the man page it produces a list
On Sat, Dec 12, 2015 at 06:00:38AM -0800, Russell Senior wrote:
> > "John" == John Jason Jordan writes:
>
> John> I wish to print a list of directories (but not the files or
> John> subdirectories contained in the directories) on Xubuntu 12.04 (up
> John> to date). I
Thanks for the additional suggestions - so many options! However, the
initial suggestion to send the output of ls to a simple text file did
the job. The only thing that might have made it a bit more elegant
would have been to concatenate another command to send the text file to
the printer with
On 12/12/2015 10:08 AM, John Jason Jordan wrote:
> Thanks for the additional suggestions - so many options! However, the
> initial suggestion to send the output of ls to a simple text file did
> the job. The only thing that might have made it a bit more elegant
> would have been to concatenate
Want: I wish to print a list of directories (but not the files or
subdirectories
contained in the directories)
The short answer
find -mindepth 1 -maxdepth 1
-type d
the find program is your friend, but one you will love and hate at the same
time, even I have to still do
a man or info find.
oh what the heck, off to the printer, how wide is the fixed font output on
your printer, if it support postscript take a look at enscript, just like
find is has a zillon options
have a dumb printer ?
take the above and ...| column -c
| lpr -P
On Sat, Dec 12, 2015 at 10:47 AM, Pete
I forgot (still having my morning caffine) I forgot to have find strip off
the starting directory
so onto the printf options, another one with a zillon options
the entity you only want is the 'filename' (I didn't write the man page),
what they really mean
is 'what entity find finds'.
In this
John,
Here is something that might get you what you want
Say you want to list all directories under directory foo
find foo -type d
this just print the names of the directories
If you want something similar to what 'ls -l' would say,
find foo -type d -ls
The out of this is like the following
On 11/28/2015 10:19 AM, John Jason Jordan wrote:
> I wish to print a list of directories (but not the files or
> subdirectories contained in the directories) on Xubuntu 12.04 (up to
> date). I normally use the GUI file manager Thunar, but it has no menu
> item to print anything. There is, however,
I wish to print a list of directories (but not the files or
subdirectories contained in the directories) on Xubuntu 12.04 (up to
date). I normally use the GUI file manager Thunar, but it has no menu
item to print anything. There is, however, Edit > Configure custom
actions, which appears to
On Sat, 28 Nov 2015, John Jason Jordan wrote:
> Suggestions?
John,
'ls -d */' lists all directories under the current directory. You can then
pipe the output to lpr and send the output to the printer of your choice
using the -P option to lpr.
Example: ls -d */ | lpr
HTH,
Rich
On Sat, 28 Nov 2015 10:30:40 -0800
Dick Steffens dijo:
>ls is the command line tool. There are, as usual, many options to use
>with ls. (See man ls.) When I need to do something like this, which is
>rare, I use ls -1 to get everything in the directory listed one item
16 matches
Mail list logo