Skip to content

v0.2.7 Progress bar length at s5cmdpy.run()

Latest
Compare
Choose a tag to compare
@trojblue trojblue released this 14 Oct 18:17

feat:

  • adding an optional parameter total : #1

now it's possible to call the S5CmdRunner's core functionalities without importing the runner:

# the txt uses a wildcard to download multiple files, so 1 command downloads many files:
# `cp s3://bucket-external/dataset/dataset_lcm/moonbeam_150k_min512x768/*.webp ./webps/`

s5cmdpy.run("test_run_file.txt", total=10000)

tweak:

  • modified some function signatures to make it more uniform

  • updated docs & function signatures