---
name: "rfrm"
section: "1"
platform: "linux"
package: "dpm"
version: "1.10.0-2+b3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/rfrm"
---

# rfrm(1)

remove remote files and directories

## NAME

rfrm - remove remote files and directories

## SYNOPSIS

**rfrm** *filename...*\
 **rfrm** \[ **-f** \] \[ **-r** \] *directory...*

## DESCRIPTION

**rfrm** provides an interface to the **shift** remote file I/O daemon (rfiod) for removing entries for one or more files  from a directory.

If *filename* is a symbolic link, the link will be removed, but the file or directory to which it refers will not be deleted.

The *filename* or *directory* argument is either a remote path name of the form:

-

  *hostname***:***path*

or a local path name (not containing the :/ character combination).

## OPTIONS

The following options apply to **rfrm:**

- **-f**

  Never prompts.

- **-r**

  Recursively remove directories and subdirectories in the argument list. The directory will be emptied of files and removed.

## SEE ALSO

**[rm(1)](/rm/1.md),** **rfiod(l)**

## NOTES

Although **rfrm** supports a list of file names or directories it does not support regular expressions **(regexp(5)).** For instance,

-

  **rfrm host:/a/b/c\\∗**

will not work.

## AUTHOR

**LCG Grid Deployment** Team
