Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
設定ファイルをバックアップとってシンボリックリンクにする
TARGET_FILE=/your/target_file/full_path
BACKUP_FILE=/your/backup_file/full_path
cp TARGET_FILE BACKUP_FILE
ln -snf BACKUP_FILE TARGET_FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.