In my project, I use a lot of geodata from different directories. Now I want to give the QGIS project to a colleague (eg on a CD).
Is it possible to copy the shapes from different directories automatically to one directory?
You're looking for the QConsolidate plugin, which works very well. It will transfer everything to a single directory and rewrite the .QGS project file (an XML file) to point to the new source locations.
It must be said this plugin is still experimental so to find it in plugins list you must check in plugin settings "Show also experimental plugins" (in QGIS 2.2)
I don't know about a way in QGIS itself, but the project file (.qgs) is just a text file. Therefore a primitive but effective way would be to copy everything manually into one directory, then alter the
If you've got a lot of different files/directories, one option would be to automate it in python by searching for each tag in the .qgs file, copying each related file with that name to a directory, and then replacing the .qgs tag with the new directory.