0 votes
I am new to DATALAB. I wasn't able to copy data to any folder in vospace even locally from datalab. For eg. I have a dir1 in my root dir and wanted to copy it to vospace but it returns a permission denied error.
Also, Is it possible to read/write into any folders inside/outside vospace directory in our datalab account remotely through a python code using authentication?
asked Nov 9, 2020 by bbhattarai (120 points) | 80 views

1 Answer

0 votes

This is an example of copying file from local machine to vospace:

datalab put --fr=/home/sarah/simulations/run5.txt --to=vos://dbs/simul1.dat

But first you need to login using:

datalab login

If you want to copy a file from a folder in vospace to another folder in vospace, you need to use:

datalab cp --from=vos://dbs/test.vot --to=vos://results/test.vot

answered Nov 10, 2020 by whuang (260 points)
edited Nov 10, 2020 by whuang

242 questions

245 answers


1,649 users

Welcome to Data Lab Help Desk, where you can ask questions and receive answers from other members of the community.