rsyncから送信されたファイルのクリーンなリストを取得します。

rsyncから送信されたファイルのクリーンなリストを取得します。

rsyncに送信されたファイルの詳細なリストを取得しようとしています。 -iおよび--out-formatオプションを使用すると、結果は次のようになります。

3HMP1MO_001.tif
     974.68K 100%    9.58MB/s    0:00:00 (xfer#1, to-check=8/10)
3HMP1MO_002.tif
     974.68K 100%    2.27MB/s    0:00:00 (xfer#2, to-check=7/10)
3HMP1MO_003.tif
     974.67K 100%    1.33MB/s    0:00:00 (xfer#3, to-check=6/10)
3HMP1MO_004.tif
     974.65K 100%    1.03MB/s    0:00:00 (xfer#4, to-check=5/10)
3HMP81O_005.tif
     974.66K 100%  834.19kB/s    0:00:01 (xfer#5, to-check=4/10)
3HMP81GS1MO_006.tif
     974.66K 100%    2.35MB/s    0:00:00 (xfer#6, to-check=3/10)
3HMP1MO_007.tif
     974.66K 100%    1.60MB/s    0:00:00 (xfer#7, to-check=2/10)
3HMP1MO_008.tif
     974.66K 100%    1.21MB/s    0:00:00 (xfer#8, to-check=1/10)
3HMP8MO_009.tif
     974.65K 100% 1009.34kB/s    0:00:00 (xfer#9, to-check=0/10)

完全なコマンドは次のとおりです。

rsync -irltShz --modify-window=2 --progress --exclude 'Thumbs.db' --out-format "%n" --log-file=current.log rsync://myserver/UserData/user1/ /mnt/bup/user1 2>/dev/null >filechanges.log

-q(quiet) を使用すると、出力はまったくありません。

-i オプションを使用しても何の違いもないようです。

出力をgrepできますが、間違いなく何かが間違っているのでしょうか?

It's `rsync  version 3.0.6  protocol version 30` on RHEL 6.2

ベストアンサー1

まさか私が何か間違っているのではないだろうか?

私はあなたがこれまでこれを見つけたと思います(from man rsync):

--progress    show progress during transfer

どうなるのだろうか。 ;血

おすすめ記事