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

From SNIC Documentation
Jump to: navigation, search
(Created page with "Copying a single file to a local file: globus-url-copy gsiftp://srm.swegrid.se/ops/jonas/arc-gui-clients-0.2.1.1.tar.gz file:///home/jonas/test.tar.gz Copying a single file to ...")
 
Line 1: Line 1:
 
Copying a single file to a local file:
 
Copying a single file to a local file:
  
globus-url-copy gsiftp://srm.swegrid.se/ops/jonas/arc-gui-clients-0.2.1.1.tar.gz file:///home/jonas/test.tar.gz
+
globus-url-copy gsiftp://srm.swegrid.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/ops/jonas/arc-gui-clients-0.2.1.1.tar.gz gsiftp://srm.swegrid.se/ops/jonas/test2/
+
globus-url-copy gsiftp://srm.swegrid.se/snic/myproject/myfile gsiftp://srm.swegrid.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/ops/jonas/test2/ file:///home/jonas/test2/
+
globus-url-copy -v -cd -r gsiftp://srm.swegrid.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/ops/jonas/
+
globus-url-copy -list gsiftp://srm.swegrid.se/snic/myproject/
  
 
P.S. Please note the trailing slashes for directories.
 
P.S. Please note the trailing slashes for directories.

Revision as of 12:41, 30 July 2012

Copying a single file to a local file:

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

Copying a single file to a directory:

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

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/

Listing files in a directory:

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

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