peak / s5cmd

Parallel S3 and local filesystem execution tool.
MIT License
2.71k stars 241 forks source link

run input syntax is not documented #713

Closed PerMildner closed 5 months ago

PerMildner commented 8 months ago

As far as I can see there is no documentation except for the README.md file and it does not say anything about the syntax of the input to the s5cmd run command.

In particular it does not say anything about how to quote file/object names with whitespace or other special characters.

kucukaslan commented 8 months ago

The relevant code snippet https://github.com/peak/s5cmd/blob/c1c7ee35acfc16aaf4a2b060129aa60b75bb5ef5/command/run.go#L105-L147

It appears that:

AFAIU: we can say that each line must be formatted so that running s5cmd {line} on the shell would work as intended. Except that the run command is not allowed to be called in this way.

ilkinulas commented 5 months ago

same as #714