Re: ls -R without printing directory names?
- From: Michal Nazarewicz <mina86@xxxxxxx>
- Date: Tue, 29 Aug 2006 10:28:58 +0200
"J.O. Aho" <user@xxxxxxxxxxx> writes:
Noozer wrote:
How can I generate a recursive list of files in a directory tree,
without the directory information being displayed? I just want
a list of files, creation dates and owner.
This is somewhat in the direction you wanted to come:
ls -R -1 -F | sed 's/.*\/.*//g'
It's useless. It gives you only the file names without directory
hierarchy and leaves a lot of blank spaces where directories were.
ls -R1F | sed -e '/:$/ n' -e '/\// d'
Would probably be better.
--
Best regards, _ _
.o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michal "mina86" Nazarewicz (o o)
ooo +--<mina86*tlen.pl>--<jid:mina86*jabber.org>--ooO--(_)--Ooo--
.
- Follow-Ups:
- Re: ls -R without printing directory names?
- From: Robert Hull
- Re: ls -R without printing directory names?
- References:
- ls -R without printing directory names?
- From: Noozer
- Re: ls -R without printing directory names?
- From: J.O. Aho
- ls -R without printing directory names?
- Prev by Date: Re: Linux window manager that can do...
- Next by Date: Re: SUSE 10.1 No network connection
- Previous by thread: Re: ls -R without printing directory names?
- Next by thread: Re: ls -R without printing directory names?
- Index(es):
Relevant Pages
|