---
name: "frmdir"
section: "1"
platform: "linux"
package: "fsp"
version: "2.81.b3-3.1woody1"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/frmdircmd"
---

# frmdir(1)

remove directories from the FSP database

Part of [frmdircmd(1)](/frmdircmd/1.md).

## NAME

frmdircmd, frmdir - remove directories from the FSP database

## SYNOPSIS

**frmdircmd** *directory* ...

**frmdir** *directory* ...

## DESCRIPTION

**frmdircmd** deletes the named directories from the FSP database. **frmdircmd** will perform **csh** file name globbing based on file and directory information obtained from the FSP database.

Since user's command shells generally cannot do the proper globbing for this program, it is recommended that user defines a shell alias or function to turn off command shell globbing before running this program. **csh** example:

```
alias frmdir \(set noglob\; exec frmdircmd \!\*\)
```

## ENVIRONMENT

The following variables associate this program with a FSP database:

- **FSP\_HOST**

  The name or internet number of the machine with the FSP server.

- **FSP\_PORT**

  The port number of the UDP socket used by the FSP server.

- **FSP\_LOCALPORT**

  The port number of the UDP socket used by FSP client utilities. The only reason to define this variable is to ensure mutual exclusion of client commands when none of the udp packet multiplexing mechanisms are enabled during compile time. You may pick any number not currently used for other purposes.

- **FSP\_DIR**

  The current working directory of the client in the FSP database. The root of the database is /.

- **FSP\_TIMEOUT**

  If this variable is set, it contains the timeout value. The default value is 4. No function if program was compiled without timeout code.

## SEE ALSO

[fcatcmd(1)](/fcatcmd/1.md), [fcdcmd(1)](/fcdcmd/1.md), [fgetcmd(1)](/fgetcmd/1.md), [fgrabcmd(1)](/fgrabcmd/1.md), [flscmd(1)](/flscmd/1.md), [fmkdir(1)](/fmkdir/1.md), [fprocmd(1)](/fprocmd/1.md), [fput(1)](/fput/1.md), [frmcmd(1)](/frmcmd/1.md), [frmdircmd(1)](/frmdircmd/1.md), [fver(1)](/fver/1.md), [fducmd(1)](/fducmd/1.md), [fhostcmd(1)](/fhostcmd/1.md), [fspd(1)](/fspd/1.md), [fsp\_prof(5)](/fsp_prof/5.md), [ffindcmd(1)](/ffindcmd/1.md)
