grisu/gricli — Issue #226: Download job ~/example
Author: smas036
Created: 2012-01-25 20:10:55+00:00
State: open

jobs> download job from_prod* ~/example_dir
Downloading job from_prod to /home/smas036/~/example_dir/from_prod

Seems the ~ is is interpreted literally and appended to the current dir

Fully specified path is fine:

jobs> download job from_prod* /home/smas036/example_dir_2
Downloading job from_prod to /home/smas036/example_dir_2/from_prod

Relative path is fine to current dir is fine:

jobs> download job from_prod* example_dir_3
Downloading job from_prod to /home/smas036/example_dir_3/from_prod

Relative path is fine when required to make a subdir in an existing dir:

jobs> download job from_prod* example_dir_3/something
Downloading job from_prod to /home/smas036/example_dir_3/something/from_prod

Relative path is fine when required to make multiple dirs

jobs> download job from_prod* example_dir_4/something
Downloading job from_prod to /home/smas036/example_dir_4/something/from_prod