| Category | Badges |
|---|---|
| Project Information | |
| Testing | |
| Branch | |
| License | |
| Purpose |
This command-line tool can copy files from a source directory to one or more destinations. It is easily configured, and can run on Windows, Linux and Mac (Intel and RISC). It's simple to install, and easy to use.
There are a couple of ways to install go-copy.
go get https://github.com/andrewlader/go-copy.gitDownload the desired binary from the releases page
A configuration file is required for go-copy to define which files or folders to copy, where to copy them, and how to handle replacements. The config file is written in YAML format and can be placed in either the configs/ directory or your user directory (e.g., C:\Users\<username>\.go-copy\go-copy-config.yaml).
Each operation is defined as a YAML key, with the following structure:
<operation_name>:
name: <Display Name>
source: <Source Path>
destinations:
- <Destination Path 1>
- <Destination Path 2>
replace: <replace mode>borderlands3:
name: Borderlands 3
source: C:\Users\john\Documents\My Games\Borderlands 3\Saved
destinations:
- D:\Game Saves\Borderlands 3 Backup
- E:\More Game Saves\Borderlands 3 Backup
replace: skip
oblivion:
name: Oblivion Remastered
source: C:\Users\john\Documents\My Games\Oblivion Remastered\Saved\SaveGames
destinations:
- D:\Game Saves\Oblivion Remastered Backup
- E:\More Game Saves\Oblivion Remastered Backup
replace: always- Create a file named
go-copy-config.yamlin either theconfigs/directory or your user directory (e.g.,C:\Users\<username>\.go-copy) if you are using Windows. The best location for the configuration file is dependent on the OS. Consult documentation for the most appropriate location. - For each backup operation, add a section as shown above.
name: A friendly name for the operation.source: The folder or file to copy.destinations: One or more backup locations.replace: How to handle existing files (never,skip,always).
- Replace modes:
never- copy over new files, but never replace existing filesskip- skip files that match the date and size of the backed up filealways- always copy, replacing the existing backup files if they exist
- Save the file and run
go-copy --operation <operation_name>to execute the copy. - You can add multiple operations for different games, projects, or folders.
For more details, see the sample config in your user directory or configs/go-copy-config.yaml.
go-copy --operation <operation-name> ...<other options>- Push new branch
- Merge branch
- If tests succeed, then create a new tage (
v#.#.#) - After creating new tag, click on
New Release
Currently not accepting contributions.
Show your appreciation to those who have contributed to the project.