On Thu, 29 May 2014 14:31:03 -0500
Dennis Wicks <[email protected]> wrote:

> Can't quite figure out how to do this.
> 
> I'd like to be able to scan a Volume or directory and find 
> all directories that have only one item in them. Either 
> directory or file.
> 
> Any ideas??
> 
> TIA!
> Dennis

If you're willing to write a fairly simple Python program it would be
pretty easy. You could probably even do it with a find piped to sort
piped to a very simple AWK script.

SteveT

Steve Litt                *  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/20140529183223.11381b2b@mydesk

Reply via email to