> iirc the recursivelyMovDir( ) function here [1] does that.> [1] https://git.gnome.org/browse/gnome-shell/tree/js/misc/fileUtils.js
>
Thanks Meg, managed to get that working in C; that code seems to leave
empty sub-directories in the source folder, but that was easily fixed.