---
name: "mkepmlist"
section: "1"
platform: "linux"
package: "epm"
version: "4.2-12"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mkepmlist"
---

# mkepmlist(1)

make an epm list file from a directory.

## NAME

mkepmlist - make an epm list file from a directory.

## SYNOPSIS

**mkepmlist** \[ -g *group* \] \[ -u *user* \] \[ --prefix *directory* \] *directory* \[ ... *directory* \]

## DESCRIPTION

**mkepmlist** recursively generates file list entries for files, links, and directories. The file list is send to the standard output.

The *-g* option overrides the group ownership of the files in the specified directories with the specified group name.

The *-u* option overrides the user ownership of the files in the specified directories with the specified user name.

The *--prefix* option adds the specified directory to the destination path. For example, if you installed files to "/opt/foo" and wanted to build a distribution that installed the files in "/usr/local", the following command would generate a file list that is installed in "/usr/local":

```
     mkepmlist --prefix=/usr/local /opt/foo >foo.list
```

## SEE ALSO

[epm(1)](/epm/1.md) - create software packages\
 [epminstall(1)](/epminstall/1.md) - add a directory, file, or symlink to a list file\
 [epm.list(5)](/epm.list/5.md) - epm list file format

## COPYRIGHT

Copyright 1999-2007 by Easy Software Products, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
