bloomreach/s4cmd

s4cmd mv -r odd behavior

Open

#149 opened on Apr 10, 2019

View on GitHub
 (0 comments) (1 reaction) (0 assignees)Python (210 forks)auto 404
buggood first issue

Repository metrics

Stars
 (1,394 stars)
PR merge metrics
 (PR metrics pending)

Description

Hi guys,

I'm not sure what happened when I used s4cmd mv -r but I ran the command

s4cmd mv -r s3://bucket/folder1 s3://bucket/folder2

and now when I run s4cmd ls s3://bucket/folder2 I see the following

                 DIR s3://bucket/folder2/subdir/
2019-04-10 22:56   0 s3://bucket/folder2/.
2019-04-10 23:08   0 s3://bucket/folder2/subdir

And I don't quite understand what's going on now b/c when I ran s4cmd ls s3://bucket/folder1 before the move I got

                 DIR s3://bucket/folder1/subdir/
2019-02-28 23:01   0 s3://bucket/folder1/

This doesn't seem right. Is there something I should have done, and is there someway to recover the old structure?

Contributor guide