---
name: "condor_rmdir"
section: "1"
platform: "linux"
package: "condor"
version: "23.9.6+dfsg-2.1+b10"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/condor_rmdir"
---

# condor\_rmdir(1)

HTCondor Manual Windows-only no-fail deletion of directories

## NAME

condor\_rmdir - HTCondor Manual

Windows-only no-fail deletion of directories

## SYNOPSIS

**condor\_rmdir** \[**/HELP \| /?** \]

**condor\_rmdir** *@filename*

**condor\_rmdir** \[**/VERBOSE** \] \[**/DIAGNOSTIC** \] \[**/PATH:\<path\>** \] \[**/S** \] \[**/C** \] \[**/Q** \] \[**/NODEL** \] *directory*

## DESCRIPTION

*condor\_rmdir* can delete a specified *directory*, and will not fail if the directory contains files that have ACLs that deny the SYSTEM process delete access, unlike the built-in Windows *rmdir* command.

The directory to be removed together with other command line arguments may be specified within a file named *filename*, prefixing this argument with an **@** character.

The *condor\_rmdir.exe* executable is is intended to be used by HTCondor with the **/S** **/C** options, which cause it to recurse into subdirectories and continue on errors.

## OPTIONS

- **/HELP**

  Print usage information.

- **/?**

  Print usage information.

- **/VERBOSE**

  Print detailed output.

- **/DIAGNOSTIC**

  Print out the internal flow of control information.

- **/PATH:\<path\>**

  Remove the directory given by **\<path\>**.

- **/S**

  Include subdirectories in those removed.

- **/C**

  Continue even if access is denied.

- **/Q**

  Print error output only.

- **/NODEL**

  Do not remove directories. ACLs may still be changed.

## EXIT STATUS

*condor\_rmdir* will exit with a status value of 0 (zero) upon success, and it will exit with the standard HRESULT error code upon failure.

## AUTHOR

HTCondor Team

## COPYRIGHT

1990-2024, Center for High Throughput Computing, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI, US. Licensed under the Apache License, Version 2.0.
