Mailinglist Archive: opensuse (878 mails)

< Previous Next >
[opensuse] copying files to USB flashdisk in alphabetical order
Hello:

My old mp3 player plays the files in the order as they were copied
to the disk.

Until now I used to copy the files in the correct order by this command:

find . -print0 | sort -z | xargs -0 cp -a --parents
--target-directory=/media/disk

This used to copy directories and their files recursively in alphabetocal order.

But in openSUSE 12.2 it does not work. The files are copied to my sdcard
in random order.

Why is this and how could I fix it?

Thanks,

Istvan

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >