how can that be done ?
According to the mkdir(1) manual page, using the option -p creates the parent directories of the target. Thus,
$ssh->system(qq{mkdir -p "$remote_dir"});will do the trick.
In reply to Re^3: creating a directory remotely implicitly
by shmem
in thread creating a directory remotely implicitly
by t-rex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |