s3cp icon indicating copy to clipboard operation
s3cp copied to clipboard

I followed your isntructions but keep getting a command not found

Open simkimsia opened this issue 12 years ago • 2 comments

I followed your instructions, but I get the following error.

No command 's3cp' found, did you mean: Command 'scp' from package 'openssh-client' (main) s3cp: command not found

When I run java -jar s3cp-cmdline-0.1.11.jar

I get the following:

usage: s3cp FILE1 FILE2 -a,--account-name Account Name [OPTIONAL] -h,--help Help

I also do not have a ~/secp folder after I untar the s3cp.tar.gz

Please advise.

simkimsia avatar Apr 02 '13 08:04 simkimsia

Hi: I am getting the same error, did you have a resolution on this can you please advice

mxgithub avatar May 09 '13 23:05 mxgithub

Yes, this is because the documentation is misleading. The java -jar command merely execute the jar but does not install an executable file. You need to copy this file

https://github.com/bradlucas/s3cp/blob/master/src/scripts/s3cp.sh

And change the location of jar file so it points to the one you have downloaded. Then you should then be able to run s3cp as advertised. In the meantime, you can always use

java -jar s3cp-cmdline-0.1.11.jar origin destination

or

java -jar s3cp-cmdline-0.1.11.jar -h

for help.

Best,

Arno

arnodelorme avatar Nov 02 '13 01:11 arnodelorme