I am one hell of a guy, I can do anything I want, only I just don't have the faintest idea what.
Zaphod Beeblebrox, in The Hitch Hiker's Guide To The Galaxy
'E's fighting in there!' he stuttered, grabbing the captain's arm.
'All by himself?' said the captain.
'No, with everyone!' shouted Nobby, hopping from one foot to the other.
Automator is bruikbaar -> maar die list ook alle subdirs, dus het resultaat daarvan moet je weer even parsen met cut zodat je alleen de 1e laag dirs van een directory krijgt?
of ls -AF | grep / en dan nog filteren dat items met . niet moeten worden weergegeven, (nog meer grep).
foutje -> applescript != shell script.
Dit zou overigens wel werken:
ls -AF | grep / | grep ^[^.] | cut -d "/" -f 1
of ls -AF | grep / en dan nog filteren dat items met . niet moeten worden weergegeven, (nog meer grep).
foutje -> applescript != shell script.
Dit zou overigens wel werken:
ls -AF | grep / | grep ^[^.] | cut -d "/" -f 1
[ Voor 20% gewijzigd door Q op 04-05-2005 23:42 ]