I guess you want to copy out the favorites folder from each profile so you can delete everything else and give them a new one?
For a share called 'profiles' where each user has one folder in the root, something like this will move all the favorites to 'someshare' and rename it to include the original profile name:
Code:
for a in `ls`; do mv //server/profiles/$a/Favorites //server/someshare/$a_favs; done
Assume a user jbloggs: it gets a directory listing of the profiles share into the variable $a, walks down into each profile, and moves the favorites folder to \\server\someshare, renaming it in the process to "$a_favs" (eg, jbloggs_favs).
Just make sure you have permission to move stuff throughout the tree before you start, and watch the spelling of favorites. Have you ever used cygwin?