so.. thanks for mod, but is there way to edit files right in SSH?
i mean that i connect via WinSCP to phone and edit those files? and if that can be done.. could someone tell me how? thanks.
I edited 22 files, some of the files had many changes. Its MUCH easier for everyone to just copy my modified files over.
there is no mv -R in the system so when you just do mv usr/ / it say's "Can't remove 'usr/': It is a directory, as it should. So the next thing I tried is cp -R which indeed worked.
I'm curious if anyone knows why "mv usr/ /" wouldn't work? The mv utility should be able to move directories (without any -r option). At least that is my understanding from reading the POSIX standard.
id like to make this into a deb... anyone care to help? thx
I'd might be able to help.. have you done a script or something yet? Did you check if the (somewhat safer) things i proposed earlier work? Are you running windows or linux?
Thanks, what mv cmd did you use? Seems like a lot of discussion on that, want to make sure I got mine right, because ls -l lists my files as still being from back in september.
EDIT:
So yes, what I had done wrong was copy the contents wrong. Double check your files with the 'vi' editor to make sure, it is possible you copied stuff wrong too. All the commands mentioned here are incorrect as far as what I tried. there is no mv -R in the system so when you just do mv usr/ / it say's "Can't remove 'usr/': It is a directory, as it should. So the next thing I tried is cp -R which indeed worked.
Copy the usr directory into your base root via PC. This will be /home/user/MyDocs on the phone system. From terminal:
gain devel-su
cd /home/user/MyDocs
cp -R usr/ /
them rm -rf usr (!! MAKE SURE YOU ARE IN /home/user/MyDocs when you do this, not to delete you /usr. Double check your current path location by 'pwd' !!) to delete the now duplicate files which you initially transferred.
I used cp -R usr/ /
exactly as you did
I don't see the need for rm -rf usr, people can manually remove the usr folder from mydocs.... it just seems like a risky move...