Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Migrating hard drives
Date: Sat, 20 Dec 2008 23:24:06
Message-Id: 494D7E8C.70303@gmail.com
In Reply to: Re: [gentoo-user] Migrating hard drives by Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling)
1 Joerg Schilling wrote:
2 > Graham Murray <graham@×××××××××××.uk> wrote:
3 >
4 >
5 >> Joerg.Schilling@××××××××××××××××.de (Joerg Schilling) writes:
6 >>
7 >>
8 >>> "cp" neither has a "-a" nor a "-x" option. Are you talking abut "gcp"?
9 >>>
10 >> yes it does
11 >>
12 >
13 > See below....
14 >
15 >
16 >> cp --help
17 >> Usage: cp [OPTION]... [-T] SOURCE DEST
18 >> or: cp [OPTION]... SOURCE... DIRECTORY
19 >>
20 >
21 > So you are definitely not talking about "cp" but about "gcp" ;-)
22 >
23 > BTW: if you like star not to cross filesystem boundaries, add -M.
24 >
25 > Jörg
26 >
27 >
28
29 I jusr recently copied my system using cp -av and it does have a -a
30 option. It's in my man page as well. I have not even heard of gcp so I
31 don't think I have ever used it.
32
33 From the man page:
34
35 CP(1) User
36 Commands CP(1)
37
38
39
40 NAME
41 cp - copy files and directories
42
43 SYNOPSIS
44 cp [OPTION]... [-T] SOURCE DEST
45 cp [OPTION]... SOURCE... DIRECTORY
46 cp [OPTION]... -t DIRECTORY SOURCE...
47
48 DESCRIPTION
49 Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
50
51 Mandatory arguments to long options are mandatory for short
52 options too.
53
54 -a, --archive
55 same as -dpR
56
57 and the list goes on. It's there, I just used it the other day and it
58 works.
59
60 Dale
61
62 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Migrating hard drives Dirk Heinrichs <dirk.heinrichs@××××××.de>