View Full Version : help with making folders on iphone
Betenix
08-15-2007, 03:22 AM
Hi, i just jailbreaked my iphone, and tried to make a new folder with mkdir but it wont allow me. it says the following. BTW I was able to transfer files from my pc to the iphone tho using winscp.
Command 'mkdir "New folder"'
failed with return code 127 and error message
-sh: line 53: mkdir: command not found.
Any ideas?
r00t4rd3d
08-15-2007, 04:23 AM
u need the mkdir binary from the binkit ?
micahnyc
08-15-2007, 10:11 PM
Hey I had the same problem because the ssh kit I downloaded did not include mkdir (just like yours also didn't include it). You can still make folders without mkdir using scp. Here is an example.
I want to copy the NES.app folder onto my iphone.
scp -r NES.app root@<iphone.ip.here>:/Applications/
this will automatically create the NES.app folder for you and put all the NES files inside the folder.
=micah
phattie
08-16-2007, 03:29 PM
I have noticed that you are in 'sh', it is possible that mkdir is not in your path (not including the fact that you may not have put mkdir on it). Try typing /bin/mkdir at the command prompt. If it moans about a missing operand, then mkdir will exist. Run this to set your PATH:
export PATH=/bin:.
I tend to include the last '.' of that as I cant be bothered to type ./ when executing binaries in my current directory, but that's up to you!
hererxnl
08-16-2007, 06:13 PM
If you can access the phone with WinSCP use that to make a dir. F7
RVN84
08-17-2007, 11:07 PM
winscp uses mkdir!
Stewcp
08-18-2007, 12:23 AM
Just downloadd the latest binkit and scp the mkdir command to your /usr/bin/ directory! - you might also want to put a few other useful ones on aswell ;)
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.