Monday, March 16, 2009

(directory #p"/Users/*")

To generate the same file list using pathname:

(directory (make-pathname :directory '(:absolute "Users") :name :wild))

The :wild is for "*". Mess the key (:name) with the value (:wild) is quite confusing.

No comments: