0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

.bakとは

0
Posted at

.bakとは?

.bak は backup(バックアップ) の略で、元のファイルを守るために作られた「コピー(バックアップ)」を示す拡張子です。

どんな時にできる?

例:
プログラムやエディタがファイルを編集する前に、自動的に元ファイルのコピーを .bak で保存する。

自分でコピーを作って手動で .bak を付ける。

コマンドラインで cp file.txt file.txt.bak のようにして保存する。

よくある用途

設定ファイルの変更前にバックアップ。

コード編集前にオリジナルを保持。

自動保存や履歴保持のための一時ファイル。

注意点

.bak ファイルは通常、そのままでは使われない(ソフトやプログラムは読み込まないことが多い)。

元に戻すには、.bak を外す or 元のファイル名に戻す必要がある。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?