[Ti] iPod copy on Big Al

Jesse Brown jesse.brown at mac.com
Mon May 19 02:56:56 PDT 2003


On 5/18/03 18:21, "Loren Schooley" <loren at flash.net> wrote:

> Ditto? You can do individual playlist too ya know.
> 
> Try 
> 
> ll -R /Volumes/iPod/iPod_Control/Music | more
> 
> Find your song, see what dir it's in and just cp it. This is basic DOS. It's
> DOS, how much is to figure out?


It's "ditto" to copy the contents of directories to another directory. "cp"
works but you have to use a switch and be careful since it will copy the
directory itself rather than contents:

>    ditto doesn't copy directories into directories in the same way as cp(1).
>    In particular,
>          ditto foo bar
>    will copy the contents of foo into bar, whereas
>          cp -r foo bar
>    copies foo itself into bar. Though this is not a bug, some may consider
>    this bug-like behavior.

Secondly, "cp" doesn't use the pipe or the "more" function. This is Unix not
DOS. DOS works on that other OS remember?

So,

Ditto ~/iPod_1/ipod_control/music ~/iPod_2/ipod_control/music

Will copy the "Contents" of iPod_1 to iPod_2


-- 
Jesse

"He is your friend, your partner, your defender, your dog.
You are his life, his love, his leader. He will be yours, faithful and true,
to the last beat of his heart. You owe it to him to be worthy of such
devotion." - Anon



More information about the Titanium mailing list