Support recursively uploading files by specifying a directory, e.g. ./sda-admin project/data. When uploading files recursively, the directory hierarchy will be mirrored in the S3 storage (the previous example command would add a data subdirectory). A command line option, -t, is added to sda-admin upload, which allows a user to upload files at a specific S3 path under the user's bucket.
Support for ingesting all files in a certain S3 directory or below (recursively). The user must give the S3 path beneath their storage bucket, and add a slash at the end, e.g., ./sda-admin ingest data/set1/. This also works when assigning files to datasets: ./sda-admin dataset SETID001 data/set1/. However, accessions still need to be set individually. Using an empty path, '', selects all files recursively.
This PR will close #8
./sda-admin project/data
. When uploading files recursively, the directory hierarchy will be mirrored in the S3 storage (the previous example command would add adata
subdirectory). A command line option,-t
, is added tosda-admin upload
, which allows a user to upload files at a specific S3 path under the user's bucket../sda-admin ingest data/set1/
. This also works when assigning files to datasets:./sda-admin dataset SETID001 data/set1/
. However, accessions still need to be set individually. Using an empty path,''
, selects all files recursively.