フィルターのクリア

set times: Broken pipe error (scp -p -r)

8 ビュー (過去 30 日間)
yonatan s
yonatan s 2018 年 6 月 18 日
コメント済み: Walter Roberson 2018 年 6 月 18 日
I'm running a code on a cluster and download the outputs with Matlab. I get the following message in the command window upon downloading:
Outputs/spinEq1: set times: Broken pipe
(Outputs/spinEq1 is the directory in my computer I'm downloading to).
the unix command returns 1.
running the code without -p works perfectly, but it is important to me to preserve the modification and access times from the original file.
name='spinEq1';
download=1;
if download
disp ('downloading...');
cmd=strcat('scp -p -r shimoni@chemfarm/work/shimoni/6_SampleRun/',name,' Outputs');
unix (cmd);
disp ('download finished');
end
back=pwd;
cd (strcat('Outputs/',name));
thank you.

回答 (0 件)

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by