Achilleus Posted March 3, 2008 Share Posted March 3, 2008 How do I copy a file *using terminal* from one partition to another partition on the same drive? Link to comment https://www.insanelymac.com/forum/topic/91528-terminal-question/ Share on other sites More sharing options...
Elkay Posted March 3, 2008 Share Posted March 3, 2008 Your different mounted volumes are accessible from /Volumes in the root of your filesystem. Mount name is by the drive label. You can use the 'cp' command to do file copies (not sure you needed that much explanation). Link to comment https://www.insanelymac.com/forum/topic/91528-terminal-question/#findComment-652914 Share on other sites More sharing options...
Achilleus Posted March 3, 2008 Author Share Posted March 3, 2008 So, I would for example use cp -r /Voumes/Tiger/file.file /Volumes/Leopard/file2.file ? Basically what my issue is is that for the graphics update, I have to back up AppleIntegratedFramebuffer.kext and restore it after the update. Right now I'm trying to restore it. I copied the kext to the root of my Tiger partition and now I can't figure out how to copy it back to Leopard as AppleIntelIntegratedFramebuffer.kext Link to comment https://www.insanelymac.com/forum/topic/91528-terminal-question/#findComment-652928 Share on other sites More sharing options...
SticMAC™ Posted March 3, 2008 Share Posted March 3, 2008 -R not -r you can also use -f to force So, I would for example use cp -r /Voumes/Tiger/file.file /Volumes/Leopard/file2.file ? Basically what my issue is is that for the graphics update, I have to back up AppleIntegratedFramebuffer.kext and restore it after the update. Right now I'm trying to restore it. I copied the kext to the root of my Tiger partition and now I can't figure out how to copy it back to Leopard as AppleIntelIntegratedFramebuffer.kext Link to comment https://www.insanelymac.com/forum/topic/91528-terminal-question/#findComment-652943 Share on other sites More sharing options...
Elkay Posted March 3, 2008 Share Posted March 3, 2008 As long as you spell Volumes correctly, yes. You can also use: cp -r /Volumes/Tiger/file.file /Volumes/Leopard/ if you don't want to rename the file. Also, make sure you're logged in as a user that has privileges to the source file and destination directory. Link to comment https://www.insanelymac.com/forum/topic/91528-terminal-question/#findComment-652944 Share on other sites More sharing options...
Achilleus Posted March 3, 2008 Author Share Posted March 3, 2008 I'm doing this from the installation cd, hopefully it will allow me to do it. [edit] No, it isn't letting me do it. I also tried using sudo and it says command not found. It tells me, No such file or directory when I'm absolutely sure it's there. Link to comment https://www.insanelymac.com/forum/topic/91528-terminal-question/#findComment-652946 Share on other sites More sharing options...
Elkay Posted March 3, 2008 Share Posted March 3, 2008 If you go into Disk Utility from the installation cd, do you see both partitions mounted? If not, it's possible one of your controllers isn't being detected. That's a whole other beast. Link to comment https://www.insanelymac.com/forum/topic/91528-terminal-question/#findComment-652962 Share on other sites More sharing options...
Achilleus Posted March 3, 2008 Author Share Posted March 3, 2008 They are both mounted. Link to comment https://www.insanelymac.com/forum/topic/91528-terminal-question/#findComment-652969 Share on other sites More sharing options...
mac_cute Posted March 3, 2008 Share Posted March 3, 2008 Command not found?...From the DVD,should be something like this (e. AppleIntelIntegratedFramebuffer.kext): cp -Rf /System/Library/Extensions/AppleIntelIntegratedFramebuffer.kext /Volumes/Leo/System/Library/Extensions/AppleIntelIntegratedFramebuffer.kext Link to comment https://www.insanelymac.com/forum/topic/91528-terminal-question/#findComment-653024 Share on other sites More sharing options...
Recommended Posts