Trailing slashes and "rmdir"

Since ObjectStore (NS4) supports the use of multiple trailing slashes in a directory name, ensure that you include the appropriate number of slashes to target the appropriate directory — the total number in the actual directory name and an additional one to serve as the path separator:

  • No trailing slashes included in the directory name: Include a single slash ("/new/dir/")
  • A single trailing slash included in the directory name: Include two trailing slashes ("/new/dir//")
  • Two trailing slashes included in the directory name: Include three trailing slashes ("/new/dir///")
  • And so on.