Jul 28, 2004 #1 WiccaChic Technical User Jan 21, 2004 179 US Is it possible to list directories based on the file system they belong to? I would like to execute a command for every directory in filesystem X.
Is it possible to list directories based on the file system they belong to? I would like to execute a command for every directory in filesystem X.
Jul 28, 2004 1 #2 columb IS-IT--Management Feb 5, 2004 1,231 EU man find and look at the -xdev option i.e. Code: find / -xdev -type d -exec mycmd {} \; Upvote 0 Downvote
Jul 28, 2004 Thread starter #3 WiccaChic Technical User Jan 21, 2004 179 US Execellent! Thanks. Upvote 0 Downvote