View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#51
Originally Posted by sifo View Post
Thank you all for your replies
And here come the story how can i copy stuff from / to scratchbox (MyDocs) ?

./sifo
Code:
cp <files> /scratchbox/users/<username>/home/<username>/MyDocs
You can also mount directories in scratchbox like this:

Code:
sudo mount --bind <directory> /scratchbox/users/<username>/home/<username>/MyDocs/mydir
The above example mounts the chosen directory in scratchbox as a subdirectory of MyDocs called 'mydir'.

I prefer to use the second approach when working with Qt Creator and scratchbox, as there is then no need to copy files. I write code in Qt Creator, then compile in scratchbox.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub

Last edited by marxian; 2012-10-25 at 21:59.
 

The Following 3 Users Say Thank You to marxian For This Useful Post: