Difference between revisions of "Accessing Swestore with globus-url-copy"

From SNIC Documentation
Jump to: navigation, search
Line 6: Line 6:
 
Copying a single file to a local file:
 
Copying a single file to a local file:
  
  globus-url-copy gsiftp://srm.swegrid.se/snic/myproject/myfile file:///home/myname/myfile
+
  globus-url-copy gsiftp://gsiftp.swestore.se/snic/myproject/myfile file:///home/myname/myfile
  
 
Copying a single file to a directory:
 
Copying a single file to a directory:
  
  globus-url-copy gsiftp://srm.swegrid.se/snic/myproject/myfile gsiftp://srm.swegrid.se/snic/myproject/mydir/
+
  globus-url-copy gsiftp://gsiftp.swestore.se/snic/myproject/myfile gsiftp://gsiftp.swestore.se/snic/myproject/mydir/
  
 
Copying a directory recursively to a local directory (verbose -v):
 
Copying a directory recursively to a local directory (verbose -v):
  
  globus-url-copy -v -cd -r gsiftp://srm.swegrid.se/snic/myproject/test2/ file:///home/myname/test2/
+
  globus-url-copy -v -cd -r gsiftp://gsiftp.swestore.se/snic/myproject/test2/ file:///home/myname/test2/
  
 
Listing files in a directory:
 
Listing files in a directory:
  
  globus-url-copy -list gsiftp://srm.swegrid.se/snic/myproject/
+
  globus-url-copy -list gsiftp://gsiftp.swestore.se/snic/myproject/
  
 
P.S. Please note the trailing slashes for directories.
 
P.S. Please note the trailing slashes for directories.

Revision as of 13:58, 14 July 2016

< Swestore


Copying a single file to a local file:

globus-url-copy gsiftp://gsiftp.swestore.se/snic/myproject/myfile file:///home/myname/myfile

Copying a single file to a directory:

globus-url-copy gsiftp://gsiftp.swestore.se/snic/myproject/myfile gsiftp://gsiftp.swestore.se/snic/myproject/mydir/

Copying a directory recursively to a local directory (verbose -v):

globus-url-copy -v -cd -r gsiftp://gsiftp.swestore.se/snic/myproject/test2/ file:///home/myname/test2/

Listing files in a directory:

globus-url-copy -list gsiftp://gsiftp.swestore.se/snic/myproject/

P.S. Please note the trailing slashes for directories.