LoginSignup
0
0

More than 5 years have passed since last update.

linux でファイルのバックアップ

Last updated at Posted at 2018-07-31

linux で日付のついたバックアップファイルを取る

  • コマンド
$ cp /Users/#{user_name}/docker_centos_project/docker-compose.yml `date +/Users/#{user_name}/docker_centos_project/docker-compose.yml_%Y%m%d`
  • 出来上がったファイル

docker-compose.yml_20180731

シェルファイル作ってディレクトリ移動したら楽かも

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