> > find /var/www/* -follow -maxdepth 1 -type f > > this will not work, except you only have one non-dot entry in /var/www - the > first argument can only be one directory, where /var/www/* will be expanded > to list of all files/directories (except those beginning with a dot) in > /var/www.
Ummm, it works for me... ;-) Using GNU 'find' as supplied with Debian. > > > > if you really want a comma seperated list, the check out sed or cut. > > > > Maybe this would suffice (note it prints directories as well): > > > > ls -dm /var/www/*/* > > yes, this might work Indeed it does too. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]