Skip to content

puhre/computer-configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple tool to keep track of files

Setup

## ./tracked_files.yaml
#
# Syntax:
#
# <group>:
# - local: <repo-path>
#   host: <host-path>
# ...
#
# <group-1>:
# ...

generic:
  - local: files/bash_config/.bash_aliases
    host: ${HOME}/.bash_aliases
  - local: files/bash_config/.bash_secrets
    host: ${HOME}/.bash_secrets
  - local: files/bash_config/.bashrc
    host: ${HOME}/.bashrc

work:
  - local: files/work-only/print-file
    host: ${HOME}/.local/bin/print-file
  - local: files/work-only/work
    host: ${HOME}/.local/bin/work

Run

# Install files from repo to computer
./run.sh --install --force <group>

# Save files top repo
./run.sh --update --force <group>

Run as cron

0 * * * *   <path-to-project>/run.sh --update --push=from-laptop work generic <...groups>

About

Simple tool to keep track of comupter configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages