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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)