Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2005 10:13:33 +0100
From:      Ulrich Spoerlein <q@galgenberg.net>
To:        Brian Candler <B.Candler@pobox.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Order of files with 'cp'
Message-ID:  <20051118091333.GA1058@galgenberg.net>
In-Reply-To: <20051116161540.GB4383@uk.tiscali.com>
References:  <20051116161540.GB4383@uk.tiscali.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Brian Candler wrote:
> I've noticed on FreeBSD-5.4 and -6.0 that the order in which 'cp' copies
> multiple files does not match the order they're given on the command line.
> This is noticeable when the target server is remote and/or slow (e.g. NFS;
> USB flash device).
>=20
> I guess it's not especially important, but it's slightly annoying in that=
 I
> have a dumb USB MP3 player, and it plays the tracks in the raw order they
> appear in the filesystem, not by sorting filenames or anything like that.

me too. Right now I cp my files in a for-loop, which will retain the
order. Not a really nice solution.

> Anyone have any thoughts on this?

If it can be done without creating too much confusion in the code, I'm
all for it. Sadly I'm not familiar with the code ...

Ulrich Spoerlein
--=20
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDfZs9mArGtfDbn0QRAkV2AKCaUhtxw2ZMh+Peuhi5rG5XeuQAEQCgitKV
Ahwl4TDKxr8q1/8c8IQ2PPs=
=T9Fq
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051118091333.GA1058>