How to copy files in alphabetic order.

Scott J. Henson scotth at csee.wvu.edu
Wed Nov 23 02:52:46 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lex Hider wrote:
> Hi,
> Anyone have any tips on how to copy a directory and get the contents
> to be copied in alphabetic order,
> 
> The reason I am asking is because my USB iRiver mplayer plays files in
> order  copied.
> 
> so songs like:
> 01-foo.mp3
> 02-bam.mp3
> 03.song.mp3
> 
> might get copied in any order.
> 

find /path/to/files.mp3 | cpio -p /path/to/iriver/


- --
Scott Henson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDg9l+r2exNrjonJARAghOAJ4jpxSQVQhCu/51YP5sf38eR3APpQCfd7Qm
8BnZImISqOADpK2+gvgFWno=
=Nvuy
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list