[Haskell-cafe] Search a directory for files

Eitan Goldshtrom thesourceofx at gmail.com
Sat Dec 19 21:40:46 EST 2009

I'm trying to make a program to make it easy to rename files in bulk. 
What I'm wondering is how to get a list of all files in a particular 
directory. I found System.Posix.Files and I'm planning on using the 
rename function in it for actually renaming, but I can't find an easy 
way to get all filenames in a particular directory. Does anyone know how 
to do it?


More information about the Haskell-Cafe mailing list