albaldi
albaldi
Thanks to the help of freenode #bash a solution for expansion was found. my idea ` #flags_megals+=("$(eval echo "${COMP_WORDS[i+1]}")")` their `flags_megals+=("$(compgen -W "${COMP_WORDS[i+1]}")")` code updated, also MIT license
thanks to https://stackoverflow.com/a/11536437 possible solution for escaping space in _remotepath_ problem is, probably my error, if no remote path to completion, TAB delete the whole remote path. Example `megarm /R`TAB...
updated again. Now it correctly expand remote path. One caveats: `megarm /R`TAB `megarm /Root ` **/Root** with _space_ and not **/Root/** with _slash_ and without _space_ So every time you...
so no more `megacopy` but `megatools copy` will test the experimental binary and see what I need to modify in the completion script.
feature request: let megadl recreate the directory tree locally of a folder link (starting from folder name). Something like: `megatools dl --path ~/local/dir --dirtree $megalink`