-----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:
> 
>  
> 
> [r...@hostname 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             e...@byu.net
-----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-----


Reply via email to