errors in download data from aws code

7 views
Skip to first unread message

charujing123

unread,
May 4, 2022, 2:30:20 AM5/4/22
to HCP-Users
 Dear all
I tried to run
aws s3 cp hcp-openaccess/HCP_1200/100206/MNINonLinear ./
but it echos error:
usage: aws s3 cp <LocalPath> <S3Uri> or <S3Uri> <LocalPath> or <S3Uri> <S3Uri>
    Error: Invalid argument type
Can anyone tell me how to fix it?
Thanks.
All the best.
Rujing
 
 
2022-05-04

charujing123

Coalson, Timothy Scott (S&T-Student)

unread,
May 4, 2022, 3:05:28 PM5/4/22
to HCP-Users
Try using "s3://hcp-openaccess/HCP_1200/100206/MNINonLinear" instead.  Without such a specifier, the tool thinks both paths refer to your local filesystem.

Tim


From: charujing123 <charuj...@163.com>
Sent: Wednesday, May 4, 2022 1:29 AM
To: HCP-Users <hcp-...@humanconnectome.org>
Subject: [hcp-users] errors in download data from aws code
 
WARNING: This message has originated from an External Source. This may be a phishing expedition that can result in unauthorized access to our IT System. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.
--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/2360c490.279.1808dc2bee5.Coremail.charujing123%40163.com.

charujing123

unread,
May 4, 2022, 9:53:17 PM5/4/22
to hcp-users
Hi Tim
Thanks very much for your help.  It's working.
All the best.
Rujing
 
2022-05-05
charujing123

发件人:"Coalson, Timothy Scott (S&T-Student)" <tsc...@mst.edu>
发送时间:2022-05-05 03:05
主题:Re: [hcp-users] errors in download data from aws code
收件人:"HCP-Users"<hcp-...@humanconnectome.org>
抄送:
 
Reply all
Reply to author
Forward
0 new messages