-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: coolguy284 <coolguy284v64@gmail.com>
- Loading branch information
1 parent
1f0bd3c
commit 1088535
Showing
3 changed files
with
112 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Hash Backup Tool | ||
|
||
This program is used to create backups of a given folder tree by referencing each file by its hash. Each additional backup to the same backup dir will only add new files that have a different hash, so space is conserved. All file timestamps made available in node.js are preserved. | ||
|
||
# Usage | ||
|
||
Download `hash_backup.js` and place anywhere. Run `node hash_backup.js` to see help. | ||
|
||
## Help | ||
|
||
``` | ||
Node Hash Backup Tool | ||
Usage: node hash_backup.js [command] [arguments] | ||
Command `init`: | ||
Usage: node hash_backup.js init <backupDir> | ||
Initalizes empty hash backup in backup dir. | ||
Command `delete`: | ||
Usage: node hash_backup.js delete <backupDir> | ||
Removes all files at hash backup dir. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters