rm -r ~/pimame/emulators/mame4all-pi/romsthe -r recursively removes the files and then the directory. then make your symbolic link (think of it as a shortcut, like in windows and mac)
ln -s ~/pimame/roms/mame4all ~/pimame/emulators/mame4all-pi/roms
It looks like you're new here. If you want to get involved, click one of these buttons!