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

copying

Started by johnny3112, 09 January 2013 - 11:47 AM
johnny3112 #1
Posted 09 January 2013 - 12:47 PM
i have looked everywhere for the answer but couldn't find a clear one.

when i copy a file from a turtle to a floppydisk and then i copy the file from the floppydisk to another turtle it goes as a directory so i can't use it

i use : copy <name> /disk <name>
copy /disk name <name>
Alekso56 #2
Posted 09 January 2013 - 01:14 PM
Try searching first: http://www.computercraft.info/forums2/index.php?/topic/2338-how-do-you-copy-and-paste-files-with-a-floppy-disk/


TL;DR

The disk is mounted as /disk. To copy a file onto a computer "cp /disk/filename /filename". To copy it to a disk "cp /filename /disk/filename".
johnny3112 #3
Posted 09 January 2013 - 01:33 PM
nope still not working, when i copy it from disk to turtle it goes in to directory then when i trye to run program wit <filename> it say no such program :(/>
dissy #4
Posted 09 January 2013 - 01:41 PM
You are putting spaces all through out the path according to what you said you typed.
There should be two spaces total, no more, no less, in the command.

copy /disk/file /newfile

copy space slash disk slash file space slash newfile

when you put a space between disk slash and the file name, you are telling it to copy the whole disk folder into the turtle
johnny3112 #5
Posted 09 January 2013 - 02:02 PM
works thx