I will test it later.

Pádraig, Matthew, thanks very much.


On 6/20/07, Matthew Woehlke <[EMAIL PROTECTED]> wrote:
Pádraig Brady wrote:
> Andrés Ghigliazza wrote:
>> It would copy all the albums in alphabetical order, to the same target
>> directory!!. I am interested in having the same directories structure
>> in the player too, i.e: artist1/album1, etc.
>
> untested:
>
> find /src | sort | xargs cp --parents --target-directory=/flash

You beat me to it, but I did test, and it WFM.

Another note:
find /src -print0 | sort -z | xargs -0 cp [...args...]

...won't break if/when your file names have spaces in them.

--
Matthew
"Nobody expects the Spanish Inquisition!" -- Monty Python



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to