タグ

tarに関するishideoのブックマーク (2)

  • How to Monitor the Progress of Linux Commands (With pv and progress)

    Instead of flying blind, use the Linux pv and progress commands to track a command's progress. These utilities will give you progress bars for commands that don't normally have any. You'll see an estimated time until completion, too. Starting a command from the terminal window can sometimes feel like a long-haul flight without a video screen. You have nothing to give any indication if all is well

    How to Monitor the Progress of Linux Commands (With pv and progress)
  • なぜ tar gzip はよくないか?

    4. なぜ tar+gzip はよくないか?afio は cpio に似たコマンドです。Debian などの Linux の主要 なディストリビューションには afio のパッケージがあると思い ますが、ない場合は ソース (日のミラーでは こっち) を持ってきて make しましょう。いや、 すでにパッケージがあっても、2.4.4 より古いのだと、後述のハードリンクの bug が あるので、最新を使いましょう。afio の特長は「gzip と組み合わせて、圧縮してバックアップを 取れる」という点です。メディアのほうで圧縮をサポートしていない限り、dump は これができませんよね。「まてまて、tar だって gzip で圧縮バックアップできるじゃないか」 という声は当然予期されます。筆者は tar+gzip でのバックアップはお勧めしません。 以下実例をあげて理由を書きます。 % cd

  • 1