Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TSX

macrumors 68030
Original poster
Oct 1, 2008
2,632
80
Texas
I've been trying to copy a folder from my wifes iPhone to mine using mobile terminal (I'm trying to learn terminal). Does anyone know what the proper command to do this is? I've been trying to use "cp" but there's more to it I just don't know what or if that's even the right one.
 
hmm...i believe transferring a folder between one iphone to another, has to be done with sshing, then installing the file onto your home screen with mobileterminal. try googling that.
 
hmm...i believe transferring a folder between one iphone to another, has to be done with sshing, then installing the file onto your home screen with mobileterminal. try googling that.

Yea I know how to ssh iPhone to iPhone, my problem is I don't know the right command to to copy the file to mine.
 
or you could just use the new iBluetooth program where you can transfer files from one phone to the other this program works great i highly recommend using this
 
It's the same as cp but to do it over ssh you use the scp command like this:
scp file.txt mobile@IPADDRESS:/var/mobile

Just change IPADDRESS to the real IP.

If you're trying to move a whole directory, use the -r (recursive) option

scp -r /private/var/stash/ringtones/ mobile@IPADDRESS:/var/mobile

That will copy your whole ringtones directory into /var/mobile/ringtones on the second phone.
 
It's the same as cp but to do it over ssh you use the scp command like this:
scp file.txt mobile@IPADDRESS:/var/mobile

Just change IPADDRESS to the real IP.

If you're trying to move a whole directory, use the -r (recursive) option

scp -r /private/var/stash/ringtones/ mobile@IPADDRESS:/var/mobile

That will copy your whole ringtones directory into /var/mobile/ringtones on the second phone.

Thank You, I had been messing with this all day putting my ip address in helped. Thanks for everyones input
 
It's the same as cp but to do it over ssh you use the scp command like this:
scp file.txt mobile@IPADDRESS:/var/mobile

Just change IPADDRESS to the real IP.

If you're trying to move a whole directory, use the -r (recursive) option

scp -r /private/var/stash/ringtones/ mobile@IPADDRESS:/var/mobile

That will copy your whole ringtones directory into /var/mobile/ringtones on the second phone.

Thank You, I had been messing with this all day putting my ip address in helped. Thanks for everyones input

Another option is SFTP which I use a lot.

You just do sftp instead of ssh to connect then you browse to the directory on the remote device with "cd" and "ls" and then browse to the directory on the local device with "lcd" and "lls" (the extra l is for local). Then when you know what file you want to GET from the remote device you do "get filename" or if you know what file you want to PUT on the remote device you do "put filename".

It's just a different way of doing it. A bit more visual :D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.