830a0c2
.TH E2CP 1 "March 2, 2005"
830a0c2
.\"
830a0c2
.SH NAME
830a0c2
e2cp \- copies files from/to an e2fs filesystem
830a0c2
.\"
830a0c2
.SH SYNOPSIS
830a0c2
.B e2cp
830a0c2
.RI [ options ] " files... dest"
830a0c2
.\"
830a0c2
.SH DESCRIPTION
830a0c2
The \fBe2cp\fP command copies files to/from an e2fs filesystem from/to the
830a0c2
machine's filesystem.
830a0c2
.\"
830a0c2
.SH OPTIONS
830a0c2
A single `-' (dash) can be used instead of a file name to indicate standard
830a0c2
input/output.
830a0c2
.TP
830a0c2
.B \-0
830a0c2
Input lines terminated by a null character.
830a0c2
.TP
830a0c2
.B \-a
830a0c2
Absolute directory names - create directories instead of just copying
830a0c2
into the destination. Only valid for copying into an ext2fs filesystem.
830a0c2
.TP
830a0c2
.B \-d \fIdest_dir\fP
830a0c2
Destination of files to be copied. May be in the ext2fs filesystem or
830a0c2
the host filesystem.
830a0c2
.TP
830a0c2
.B \-G \fIgid\fP
830a0c2
Set the default group to gid.
830a0c2
.TP
830a0c2
.B \-O \fIuid\fP
830a0c2
Set the default file owner to uid.
830a0c2
.TP
830a0c2
.B \-p
830a0c2
Preserve host file attributes (permissions, times, etc.) when copying
830a0c2
files.
830a0c2
.TP
830a0c2
.B \-P \fImode\fP
830a0c2
Set the file permissions (ie 755, 666).
830a0c2
.TP
830a0c2
.B \-s \fIsrc_dir\fP
830a0c2
The source of the files to be copied.
830a0c2
.TP
830a0c2
.B \-v
830a0c2
Be verbose.
830a0c2
.\"
830a0c2
.SH SEE ALSO
830a0c2
.BR e2tools (7),
830a0c2
.BR e2ln (1),
830a0c2
.BR e2ls (1),
830a0c2
.BR e2mkdir (1),
830a0c2
.BR e2mv (1),
830a0c2
.BR e2rm (1),
830a0c2
.BR e2tail (1).
830a0c2
.\"
830a0c2
.SH AUTHOR
830a0c2
The \fBe2tools\fP were written by Keith Sheffield <sheff@pobox.com>.
830a0c2
.PP
830a0c2
This manual page was written by Lucas Wall <lwall@debian.org>,
830a0c2
for the Debian project (but may be used by others).