View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,513 times | Joined on Aug 2010 @ Wigan, UK
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) ?

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

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


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

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