support MacOSX rm syntax