Re: Looking for a different way of showing a directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/18/06, rengland@xxxxxxxxxx <rengland@xxxxxxxxxx> wrote:
> I am trying to find a way to get recursively the the whole content of
> a certain directory in the following format:
>
> file1
> file2
> sudirectory1/file3
> sudirectory1/file4
> sudirectory2/file2
> sudirectory2/file3
>
> Any ideas?

Depends on how sophisticated you want to be.

$ cd <dir>
$ find . -print

Should give you the listing....  It will place a ./ on the front of each
line....

Thanks! That is precisely what I was looking for.

Paul


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux