Skip to content

Instantly share code, notes, and snippets.

/*
A simple little editor extension to copy and paste all components
Help from http://answers.unity3d.com/questions/541045/copy-all-components-from-one-character-to-another.html
license: WTFPL (http://www.wtfpl.net/)
author: aeroson
advise: ChessMax
editor: frekons
*/
#if UNITY_EDITOR
@burasuk
burasuk / backup.sh
Created June 25, 2020 10:47
simple differential backup based on tar
#!/bin/sh
DATE=`date +%Y-%m-%d__%H-%M`
BACKUP_NAME=$DATE.tar.gz
DIR_TO_BACKUP='dir/to/backup'
# next differential backup
tar -czg snapshot.snar -f $BACKUP_NAME $DIR_TO_BACKUP