[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cp command in linux issue
From: |
Eric Blake |
Subject: |
Re: cp command in linux issue |
Date: |
Tue, 24 Nov 2009 13:11:25 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> [please don't top-post on technical lists]
[you didn't read my earlier request to avoid top-posting]
According to Patrick Chin on 11/24/2009 7:22 AM:
> Just want to inform you guys that:
>
>
>
> address@hidden scripts]# cp -Run <source_directory> <destination>/.
>
> cp: invalid option -- n
You didn't read my earlier mail that -n was added in coreutils 7.1. Since
it didn't work for you, your version is obviously older. That means you
need to upgrade. The latest stable coreutils is 8.1.
> And I’m not using aliases for my cp command. I am though using Red Hat
> Linux 4.8 which I’m finding out arguments are not consistent from
> Linux/Unix OS companies.
The arguments required by POSIX are pretty much consistent across multiple
Unix implementations. The ones that are GNU extensions are just that -
extensions. cp -n is an extension; so it is not available everywhere.
> I’ll try the rsync but it sound like it is more of a server-client app.
It does that, too. But it is the perfect tool for local transfers just
like you described.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAksMPewACgkQ84KuGfSFAYCSwwCgzV9v4PYwIZzaL2nPFEOAMRdM
fXIAoMGeD+6Qti06o7N920sRxyuhUKWO
=rpPe
-----END PGP SIGNATURE-----