I am currently migrating to a new mac. For some weirder applications i wanted to make sure i get all the files and configs. Using a little tool called FSeventer this is pretty easy. Just open FSeventer and fire up your application to see which files it tries to access.
This is also useful for quick debugging of webapps, in case you dont know exactly which files of a project are used in a certain request.