apple_rm is a perl script that removes FILE(s) as well as the .AppleDouble metadata file(s) that corresponds to FILE(s). These AppleDouble header files eventually also contain the resource fork if the files had one. apple_rm does not delete directories.
/usr/bin/apple_rm test.text testing.text
Report bugs to the Netatalk-devel list <[email protected]>.