Skip to content

fartwhif/GammaCopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GammaCopy

Reconstitute directory structure and files using a metadata cache and templates (sometimes called layouts). Highly optimized caching system, interruptable, with deep archive traversal.

Template files allow one to share/archive file organization and identities by use of hashes. Templates work well for preserving metadata, which can be used to reconstitute file/folder structures. Templates provide a way to comment on, specify hierarchy of, and identify data.

GammaCopy currently supports only SourceMaterial DataBase (or SMDB) templates.

License is Apache 2.0 because of Crc32.cs


Disclaimer

You are responsible for your own actions. If you mess something up or loose data while using this software, it's your fault, and your fault only.

  • I am in no way affiliated with, nor is this project endorsed by SmokeMonsterPacks or SmokeMonster.

Command line

verb description
parse Generate a template file.
index Gather metadata for the source locations and save it in the metadata cache.
build Check coverage or reconstitute directory structure and files based on a template file.

parse options

-p, --parse-folder Required. Folders to be parsed.

-w, --parsed-output-destination Required. Write parsed output to this file.

-r, --global-prepend

-t, --prepend-last-folder

index options

-s, --source Required. Source locations to index or refresh.

-e, --onebyone Gather metadata sequentially.

-x, --disable-archive-traversal Do not traverse archive files.

build options

-d, --database Required. template files to use.

-o, --output Path to the output folder.

-n, --containers Write output to <outputpath>/<templatefilename>/

-f, --coverage-hybrid-to-file Gather entries not in output location or metadata cache. Output coverage information to file.

-c, --coverage-hybrid-to-stdout Gather entries not in output location or metadata cache. Output coverage summary to console.

-u, --coverage-existant-to-file Gather entries not in output location. Output coverage information to file.

-v, --coverage-existant-to-stdout Gather entries not in output location. Output coverage summary to console.

-h, --coverage-meta-to-file Gather entries not in metadata cache. Output coverage information to file.

-b, --coverage-meta-to-stdout Gather entries not in metadata cache. Output coverage summary to console.

-j, --stdout-coverage-full When outputting coverage to console, DO NOT omit the missing entry list.

-k, --delete-extras Delete extra files found in the output path but not in the template file.

-l, --delete-empty-folders Delete empty folders found in the output path.

-g, --go Go ahead with the build process and output the data to the output folder.

Examples

use a template to build file and folder structures:

>GammaCopy build -d "Y:\nes template.txt" -c -f -g -o "Y:\nes"

update the metadata cache with all hashes and locations:

>GammaCopy index -s "Y:\pilesofarchives\"

create a new template based on an organized file and folder structure:

>GammaCopy parse -p "Y:\finalset" -w "Y:\final.txt" -r "final"

About

Reconstitute directory structure and files using a metadata cache and templates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published