Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

e2cp(1) [debian man page]

E2CP(1) 						      General Commands Manual							   E2CP(1)

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

Check Out this Related Man Page

MOUNT_ADOS(8)						    BSD System Manager's Manual 					     MOUNT_ADOS(8)

NAME
mount_ados -- mount an AmigaDOS file system SYNOPSIS
mount_ados [-o options] [-u uid] [-g gid] [-m mask] special node DESCRIPTION
The mount_ados command attaches the AmigaDOS filesystem residing on the device special to the global filesystem namespace at the location indicated by node. Both special and node are converted to absolute paths before use. This command is normally executed by mount(8) at boot time, but can be used by any user to mount an AmigaDOS file system on any directory that they own (provided, of course, that they have appro- priate access to the device that contains the file system). The options are as follows: -o options Use the specified mount options, as described in mount(8). -u uid Set the owner of the files in the file system to uid. The default owner is the owner of the directory on which the file system is being mounted. -g gid Set the group of the files in the file system to gid. The default group is the group of the directory on which the file system is being mounted. -m mask Specify the maximum file permissions for files in the file system. (For example, a mask of 755 specifies that, by default, the owner should have read, write, and execute permissions for files, but others should only have read and execute permissions. See chmod(1) for more information about octal file modes.) Only the nine low-order bits of mask are used. The default mask is taken from the directory on which the file system is being mounted. SEE ALSO
mount(2), unmount(2), fstab(5), mount(8) HISTORY
The mount_ados utility first appeared in NetBSD 1.0. BUGS
The 'ados' filesystem currently supports the Amiga fast file system. The 'ados' filesystem implementation currently is read-only. The mount_ados utility silently retries the mount read-only, as if the ro option were specified, when it encounters the [EROFS] error. BSD
April 7, 1994 BSD
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

copying files from Unix to NT 4.0 Sp5

Hi, Does onyone know of a utility or command that would permit me to copy files from a UNIX environment to Windows NT SP5 environment. (3 Replies)
Discussion started by: regimbaldpj
3 Replies

2. UNIX for Dummies Questions & Answers

Copying files

I like to know the command structure of copying files/directories from a unix box using telnet session to a windows box. (4 Replies)
Discussion started by: alpheusm
4 Replies

3. UNIX for Dummies Questions & Answers

finding and copying files !

Hi , I have a question relating to finding and copying files. i need to find the .pdf files from the specified directory which has subdirectories too. I only need .pdf files and not the directories and need to copy those files into my current directory. copy files from :... (5 Replies)
Discussion started by: bregoty
5 Replies

4. Solaris

How to delete the files from local host to remote host

Hi all, i am copying .gz files from production server to development server using "scp" command.my requirement is after copying .gz files i want to delete old .gz files(two days back) in development server from production server. like this way i need to delelte .log ,.z and .dmp files... (3 Replies)
Discussion started by: krishna176
3 Replies

5. Filesystems, Disks and Memory

any alternative to "du -s" ?

Hi! We have a large filesystem with 1,8 mio files and 16000 directories. Sometime developers think, they have to do some funny changes and start to fill up some directories within. as there are about 20 applications running, it is somehow difficult, to find out, who ist filling up the fs. "find .... (4 Replies)
Discussion started by: jeepxtreme
4 Replies

6. UNIX for Dummies Questions & Answers

Copying specific files

I wanted to see if some one could confirm the proper command and format for copying specific files i.e., ones that contain certain character string in the file name. I would like to copy all files that contain a numeric sequence in the file name i.e., "922371". Files are compressed - *.gz. Would... (3 Replies)
Discussion started by: faaron3
3 Replies

7. HP-UX

File with no permissions

All, I have a very strange situation here. I have a server with 2 filesystems for 2 different users. The filesystem my user id is part of is copying a file with permissions 666 to the other filesystem - the files copied are owned by my userid. Sometimes, the file will be copied and when... (8 Replies)
Discussion started by: simshark
8 Replies

8. UNIX for Dummies Questions & Answers

Copy unix filesystem to windows

Hi all Is there a way to copy a unix filesystem (folders, subfolder and files) to windows (AD) and at the same time maintaine the unix permission (user/group) when copied to windows (AD) filesystem? I want the same permission in windows as I had in unix in one copy job. Is this... (8 Replies)
Discussion started by: tomjen
8 Replies

9. Shell Programming and Scripting

copying files with spaces in the filename

Hi I am having difficulty copying files from one dir to another due to a space in the names of the file with an extension .rtf There are a group of files and the command am using is cp `ls -rt /wlblive/home/whiops/ops/RTFs/*.rtf|head -20` /wlblive/home/jamshed Since the files are... (3 Replies)
Discussion started by: jamshedj
3 Replies

10. UNIX for Dummies Questions & Answers

Permissions issue after copying files

Hi everyone, I am using mac os x 10.6, and I just copied over a project from a machine with 10.5... And I noticed my ls color is very funky in this directory... I found that my permissions are all messed up, and am wondering if there is a way to recursively fix permissions? This is how they... (3 Replies)
Discussion started by: patrick99e99
3 Replies

11. UNIX for Dummies Questions & Answers

copying same file multiple times with different names

hi, I am copying a file from 1 folder to another in /bin/sh. if the file already exists there, it should get copied as filename1. again if copying next time it shouldget copied as filename2.. , filename3..so on.. The problem is i am able to get uptil filename1.. but how do i know what... (6 Replies)
Discussion started by: blackcat
6 Replies

12. Shell Programming and Scripting

copying and manipulating files

im copying alot of files this is a script im trying to modify but not sure how to make it copy files without an extension and then add a .txt to them abc= #assuming the file does not have an end or extension foo='abc$' FROM=/user/share/doc TO=~/home/doc for grep $foo in... (3 Replies)
Discussion started by: elginmulizwa
3 Replies

13. Shell Programming and Scripting

How to suppress the error while copying the file

HI , I am tryin to copying multiple files from some dir. If the files are not present. It should not throw error in the screen. HOw to do that . Please help (4 Replies)
Discussion started by: arukuku
4 Replies

14. Shell Programming and Scripting

Issue with copying files into dir inside for loop

Hi , I'm trying to move/copy the files inside the loop into a directory . I tried the below code and the issue is the data is not copying into the created directory but the files are copying into another file file_path="/home/etc" Last_Day=20130930 mkdir $file_path/ARC_${Last_Day} ... (3 Replies)
Discussion started by: smile689
3 Replies

15. Shell Programming and Scripting

[Solved] How to create a script by combing two files?

I am trying to generate a csv file for utilization of each project directory. there are 10 filesystem and for each filesystem there are 16 directory. i was trying to create a script so i created two file. one is filesystem and one is project. so file looks like cat filesystems /app1 /app2... (10 Replies)
Discussion started by: anshu ranjan
10 Replies