Project

General

Profile

Bug #8281

aws s3 has no mkdir command

Added by Dennis Box over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/08/2015
Due date:
% Done:

100%

Estimated time:
Duration:

Description

I tried this:

[dbox@novagpvm01 ~]$ ifdh mkdir s3://ifdh_tests/dir_1/
usage: aws [options] <command> <subcommand> [parameters]
aws: error: argument subcommand: Invalid choice, valid choices are:

ls | website
cp | mv
rm | sync
mb | rb
Exception:mkdir failed
at:Wed Apr 8 14:07:17 2015

line 1821 of ifdh_cp.cc (on devel branch)

if (use_s3)      cmd << "aws s3 mkdir ";

I tried 'aws s3 mb directory/subdirectory' and it worked, thats probably what needs to go here.

Dennis

An aside: I assume I can make and delete test buckets, and copy small files back and forth as part of testing. True? How much data can I move before I have used too much?

Associated revisions

History

#1 Updated by Dennis Box over 5 years ago

  • Status changed from New to Resolved
  • Assignee changed from Marc Mengel to Dennis Box

see commit 82ce0c4758fb13e84023e91b986cf43c3acb3c7b.

ifdh mkdir works as expected now.

Dennis

#2 Updated by Marc Mengel over 5 years ago

  • Target version changed from v1_8_0 to v1_8_2

#3 Updated by Marc Mengel over 5 years ago

  • % Done changed from 0 to 100

#4 Updated by Marc Mengel over 5 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF