RE: quick directory question
you could use find:
find ./ type d > some.file
Wes
____________________________________
Wesley A. Wannemacher
Instructor, Network Administrator
Northwestern College
wawannem@nc.edu
____________________________________
-----Original Message-----
From: Andrew Kae [mailto:jiggyman77@hotmail.com]
Sent: Thursday, June 29, 2000 9:45 AM
To: debian-user@lists.debian.org
Subject: quick directory question
Hello,
I am trying to list all the directories in a directory and put it into a
file.
So far I have :
$ ls -all -F | grep /$ | awk '{print $8}'
./
../
.netscape/
mail/
which almost gives me what i want but i need to get rid of that / at the
end, can someone help me out?
If anyone has an easier way, can you let me know?
Thanks
PS. I feel a little embarrased asking such a simple question but o well =)
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null
Reply to: