Mac or Windows OS Question

by Jimmy Akin

in Uncategorized

I'm looking for a way to take a directory in the Mac OS and spit out a comma delimited (or similar) file with the names of all the individual files in the directory. Anyone know how to do this?

(Falling back on the Windows OS, how would you do that there?)

If you liked this post, you should join Jimmy's Secret Information Club to get more great info!


What is the Secret Information Club?I value your email privacy

Comments have been disabled for this post.
Sort: Newest | Oldest
EricEwanco 5 pts

Just saw this. Probably useless by now but for future reference ... I think Mac has a Unix shell (bash shell) built into it. If so you can do this:

ls | xargs -i@ echo @,

Previous post:

Next post: