datamon
datamon copied to clipboard
single file download improvements
this is an issue to track and facilitate discussion about any sort of feature enhancements related to single-file download (the bundle download file
command).
here are a few ideas to describe the sort of feature requests this issue might track.
multiple downloads from the same bundle to the same destination
the current use-case is to have the --destination
parameter be an empty directory on every run. actually, it is possible to download multiple files to the same, non-empty destination, provided they are from different bundles. the idea here overall is about what's desirable in terms of actual use cases: need the destination directory be empty for every single file download?
path in bundle preserved
when downloading a single file at path, say, --file i/j/file
in the bundle to a location, say, --destination /tmp
, the path in the bundle is preserved in the sense that the file is downloaded to /tmp/i/j/file
. this is somewhat different from downloading files with other utilities such as scp
where the destination path is replaced with the remote file: in the above example, the file would be downloaded to /tmp/file
instead. again, this idea is open to suggestion according to actual use cases.
regexp/globbing on bundle filenames
the idea here is to allow downloading files using regexps or shell-like globbing (aka substitution). so when running the bundle download file
command, multiple files would be downloaded according to some pattern.