https://github.com/codeniko/simple-backup
Backup for non developers
https://github.com/codeniko/simple-backup
Last synced: about 1 year ago
JSON representation
Backup for non developers
- Host: GitHub
- URL: https://github.com/codeniko/simple-backup
- Owner: codeniko
- Created: 2018-03-02T06:24:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-03T21:22:37.000Z (about 8 years ago)
- Last Synced: 2025-01-21T00:43:44.866Z (over 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple-backup
A simple backup script. Place the shell file into a directory you want to backup and run. Backs up all files and directories where script is located. Useful for non-developers like designers.
## First time usage setup
You must first setup the environment. You only have to do this once.
1. Install `git` cli tool
2. Install `git lfs` from https://git-lfs.github.com/
3. `chmod u+x simple-backup.sh` to set user executable permission on shell file
## Usage for each directory to backup
1. copy `simple-backup.sh` into directory where backup is needed.
2. create a github repository and make note of its name
3. `./simple-backup.sh` in the directory you want to backup
Alternatively, if you're not a developer or familiar with the terminal commands, you can do it all from Finder. Right click the `simple-backup.sh` file, and then select `Open with` in the menu. Choose `Utilities/Terminal` and select the box underneath to always open this type of file with the selected program. Then, whenever you want to backup your directory, simply double click the `simple-backup.sh` file.
## Instructions for large files
This script uses Git Large File Storage (git-lfs) which allows you to version control large files up to 2GB each. At the moment, it is set to only track files with the `.sketch` extension.