scotow / mego

A simple megadl wrapper with auto-retry and download list
MIT License
23 stars 1 forks source link

How I can use mego with megatools params? #6

Open hamedsbt opened 1 year ago

hamedsbt commented 1 year ago

How I can use mego with megatools params? such as --path param to save downloaded file to specified path?

$ megatools
Usage:
  megatools dl [--no-progress] [--path <path>] <links>...
  megatools dl --path - <filelink>
  megatools df [--free|--total|--used] [--mb|--gb|-h]
  megatools ls [-e] [-h] [--header] [-l] [-R] [-n] [<remotepaths>...]
  megatools test [-f|-d] <remotepaths>...
  megatools export <remotepaths>...
  megatools get [--no-progress] [--path <path>] <remotepaths>...
  megatools get --path - <remotefile>
  megatools put [--no-progress] [--path <remotepath>] <paths>...
  megatools copy [-n] [--no-progress] --local <path> --remote <remotepath>
  megatools copy [-n] [--no-progress] --download --local <path> --remote <remotepath>
  megatools mkdir <remotepaths>...
  megatools mkdir /Contacts/<contactemail>
  megatools rm <remotepaths>...
  megatools rm /Contacts/<contactemail>
  megatools reg [--scripted] --register --email <email> --name <realname> --password <password>
  megatools reg [--scripted] --verify <state> <link>
scotow commented 1 year ago

Hello, this project is a sample wrapper with not so many options. If your only need is the --path option, you have two options. You can either move to the target directory and use relative paths to your list files, or you can create a PR to add this option to mego and forward it to megatools.