[FreeBSD-users-jp 95469] Re: SSDコピーでハマってます。(西村)

yoshihome ilovefd at topaz.plala.or.jp
Sat Feb 28 03:15:12 UTC 2015


西村です

空白を除いてみました。結果は以下の様です
昔は、cshを使っていたのですが、今はデフォルトなのでshだとおもいます。

root at koubou9:/ # ( cd /mnt ; tar cf - 2> /tmp/error-from.log ) | ( cd 
/mnt2 ; tar xf - 2> /tmp/error-to.log )
tar: 2: Cannot stat: No such file or directory
tar: 2: Not found in archive
tar: Error exit delayed from previous errors.
root at koubou9:/ #


On 2015年02月28日 12:01, Hiroo Ono (小野寛生) wrote:
> 小野寛生です。
>
> 2015年2月28日 11:45 yoshihome <ilovefd at topaz.plala.or.jp>:
>> root at koubou9:/ # ( cd /mnt ; tar cf - 2 > /tmp/error-from.log ) | ( cd /mnt2
>> ; tar xf - 2 > /tmp/error-to.log )
>> tar: 2: Cannot stat: No such file or directory
>> tar: 2: Not found in archive
>> tar: Error exit delayed from previous errors.
> "2>" のところは 2 と > の間に空白を入れないでください。あと、tcsh
> だと標準エラー出力のみリダイレクトというのはできませんが、シェルは sh でしょうか?
> _______________________________________________
> freebsd-users-jp at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp
> To unsubscribe, send any mail to "freebsd-users-jp-unsubscribe at freebsd.org"



More information about the freebsd-users-jp mailing list