diff --git a/before_v0.60/cool_oneliners/parse_aws_s3_ls.nu b/before_v0.60/cool_oneliners/parse_aws_s3_ls.nu deleted file mode 100644 index a1b4771..0000000 --- a/before_v0.60/cool_oneliners/parse_aws_s3_ls.nu +++ /dev/null @@ -1,3 +0,0 @@ -# transform the aligned text output of aws s3 ls into something useful -# presumes you have the aws CLI -aws s3 ls s3://your-bucket-and-path | lines | each { echo $it | str find-replace ' ' ' ' | str find-replace ' ' ' ' } | split column ' ' diff --git a/sourced/cool-oneliners/parse_aws_s3_ls.nu b/sourced/cool-oneliners/parse_aws_s3_ls.nu new file mode 100644 index 0000000..fef0f1f --- /dev/null +++ b/sourced/cool-oneliners/parse_aws_s3_ls.nu @@ -0,0 +1,3 @@ +# transform the aligned text output of aws s3 ls into something useful +# presumes you have the aws CLI +aws s3 ls s3://your-bucket-and-path | lines | each { str replace ' ' ' ' | str replace ' ' ' ' } | split column ' '