Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listing directories within a fislesystem 2

Status
Not open for further replies.

christiniaroelin

Programmer
Sep 15, 2004
26
US
HI,

Im trying to list all the directories conatined within 10 different filesystems. Could you please let me know how to achieve this??

Thank You,
Roelin
 
One big list? Or, one list per filesystem?
Either way, the command you want is "find".

# cd /filesystemdir
# find . -type n -print >fs_dir.list
 
Oops..

Make that:

# find . -type d -print > fd_dir.list


Too many phones in too many ears while typing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top