Open Aariq opened 3 years ago
-o outputdir
try rmapi mget -h
Do you mean rmapi mget path/to/file/on/RM -o ~/Downloads
or rmapi mget path/to/file/on/RM -h ~/Downloads
? Neither of those seem to save a file anywhere, although I don't get any errors from rmapi
. Is there any documentation about what options are available for mget and geta? Sorry, I'm a beginner linux user.
Ok, I think I got it. It's mget -o outputdir path/on/RM
. But it still has some unexpected behaviors. When I do mget -o ~/Downloads mydir/myfile
it creates a folder called "~" in my home directory, then "Downloads/mydir/myfile.zip" under that. I expected it to create myfile.zip
in ~/Downloads
.
could be a bug in the option parsing then, i have to check it
Ok, I think I got it. It's
mget -o outputdir path/on/RM
. But it still has some unexpected behaviors. When I domget -o ~/Downloads mydir/myfile
it creates a folder called "~" in my home directory, then "Downloads/mydir/myfile.zip" under that. I expected it to createmyfile.zip
in~/Downloads
.
it works on my machine, Linux/zsh,bash
what OS and shell are you using?
Is there a way to specify where mget downloads files to? I tried
mget . ~/Downloads
and the file was downloaded to my home directory, not Downloads.