find all the directories with the name "some-dir" in the current folder and move them to another folder and do not search in subfolders
find ./ -maxdepth 1 -name "some-dir" -type d -print0 | xargs -0r mv -t x/