This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
__NightWhisper__'s profile picture

Floppy Copy to Turtle

Started by __NightWhisper__, 24 July 2012 - 08:33 PM
__NightWhisper__ #1
Posted 24 July 2012 - 10:33 PM
Ok, so i thought this would be rather simple to copy from a computer to a floppy/floppy to PC/floppy to turtle…


i got the program to the floppy… somehow

and now i want ot get it on the turtle… but it just won't go.


ive watched countless videos and read toomany forums… but when someone post this: Use this code "disk/filename/filenam filename"

well what filenames go where? which file should i be naming where?


so i want to copy SimpleDig to the turtle… could someone PLZ help? THANKS!


BTW: im plying on a server… its my server, but a server none-theless =D
Noodle #2
Posted 25 July 2012 - 11:32 AM
You need to use a disk drive. You can't put the disk in a slot of the turtle.
Try: mv "/disk/PROGRAMorDIR" "filename" - Without the "
__NightWhisper__ #3
Posted 25 July 2012 - 01:52 PM
You need to use a disk drive. You can't put the disk in a slot of the turtle.
Try: mv "/disk/PROGRAMorDIR" "filename" - Without the "

Sry, shoulda told ya i had a disk trive



ok so since my program is called SimpleDig i would do this?

mv disk/SimpleDig ???

what is the second "filename"?




Q: 2 why when i add a program to my floppy does it still say Blank floppy, but when i cd disk, and type programs, all the programs i add are still there?


EDIT: Still can't copy to the turtle… what did u mean by disk/simpledig "filename"…. what do i put for hte second filename?

EDIT2: whenever i use: —mv disk/SimpleDig rom— (without the —) to copy from my floppy to turtle, it says access denied


EDIT3: VAT THE HECK!!!! when i typed cd disk—then—mv AT rom

AT being the programs… it worked = VAT DA HECK!


EDIT 4:nvm FAIL!!! didn't work, still no program on turtle >.<
Tiin57 #4
Posted 26 July 2012 - 01:38 AM
What you want to do is put the disk in a drive next to the turtle, then in said turtle, run this code in the shell (the basic prompt (NOT THE LUA PROMPT)):

cp disk/SimpleDig /
That will copy the file SimpleDig in the disk directory to the turtle. Make sure that you're caps-sensitive as well, because Lua is.
Noodle #5
Posted 26 July 2012 - 06:18 PM
What I meant by filename is what you want it to be called.
or what tiin57 said.
__NightWhisper__ #6
Posted 27 July 2012 - 12:50 AM
What I meant by filename is what you want it to be called.
or what tiin57 said.

Ok, thx a bunch!!! THANKS MAN!!! THX THX… now to try it =D


WOW! it actually worked!


EDIT…oops that sounded bad, made it looked like i didn't believe u guys, sry it wasn't that, its just that i have a bad habit of screwing up code that someone else tells me to use… BUT IT WORKS =D