Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > terminal: copy files to application package?

terminal: copy files to application package?
Thread Tools
Junior Member
Join Date: Jan 2001
Location: sacramento, ca
Status: Offline
Reply With Quote
Jan 16, 2004, 04:10 PM
 
the short question: is there a special terminal commmand for copying a file from a 'regular' directory to the root of a 'show package contents' directory? cp source destination doesnt seem to work, nor does simply dragging via the finder.

the long version:

in virtual pc 6, operating system instances are stored as .vp6 files.

if you view contents, you can see the actual harddrive image as a .vhdp file.

using a 3rd party utility on a p.c. i created a drive partition i wished to clone to a pre-exisiting virtual p.c. partition.

the problem with that p.c. utility is that it could not see inside the .vp6 application bundle from within windows. so, i dragged the .vhdp file out (via the finder) of it to the desktop and cloned my drive image to the .vhdp file there. everything on the p.c. side seemed to work fine that way.

now, i need to put the .vhdp file back inside the .vp6 bundle so that VPC will see it. but, simply dragging the file from the desktop to the 'view contents' folder does not work. i *CAN* drag to sub directories of the 'contents view'--but, not the root of that directory.

is there a 'magic key combo' i need to hold in the finder, or is there some other terminal switch i need to add to complete this seeminly simple task?
if it aint' broke, break it.
     
Senior User
Join Date: Feb 2003
Location: Atlanta
Status: Offline
Reply With Quote
Jan 16, 2004, 05:51 PM
 
My guess would be you don't have write access to that directory. Just use sudo when you copy in Terminal.
2.16 Ghz Core 2 Macbook, 3GB Ram, 120 GB
     
hodaddy  (op)
Junior Member
Join Date: Jan 2001
Location: sacramento, ca
Status: Offline
Reply With Quote
Jan 16, 2004, 11:34 PM
 
beh--the file seems to have been too large for a copy (4 GB). move (mv) worked fine. is there a file size limit for terminal cp?

fyi- didnt need to use sudo
if it aint' broke, break it.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:42 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2