Need to move the directory

hello guys
I have a folder named "XYZ". It consist many sub-folders and subfolder contain several files. there may be abc.dat in each subfolder. Now i want to separate subfolders on following conditions-
if abc.dat > 1kb (size) move all subfolders to a new folder.
I tried this:-

find /XYZ -type f -name "abc.dat" -size +1024c -print

this command list all the folders. now i am unabkle to move them to new folder
please help me out i am very new to unix.

Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Proceed here:

http://www.unix.com/shell-programming-scripting/122510-search-through-subfolders-move-them-into-separate-folder-base-file-size.html\#post302366660

Thank You.

The UNIX and Linux Forums.