GithubHelp home page GithubHelp logo

pritam12426 / puchcon Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.44 MB

Terminal configuration file synchroniser

License: MIT License

CMake 0.93% C 97.25% Makefile 1.82%
c commit config git github speed

puchcon's Introduction

Push System Configuration To Github

Push config to github is a CLI tool written in C language. This project designed to identify and synchronize differences between two files. This tool is particularly useful for users who need to ensure data consistency between versions of files, whether they are documents, code files.

Features

  • Project allow you to set a target file of your configuration and get depository on your local machine to synchronise both file in between them

Screen Of Log Status Of `pushcon`

# Local git repo path in which you wants to sync your files.
# Example: Syncing files to the 'my_config' repository on GitHub
export COMP_GIT_SOURCE_DIR="<|path /to/you/local/repository/|>"

Configuration Example.

{
	.fileName = ".bashrc",

	// The folder path where the original file is located.
	// Example: The '.bashrc' file is located in the '/home/pritam/' directory.  .systemDirectory = "/home/pritam/",

	// The folder path inside the local git repo where you want to sync the file.
	// Example: The '.bashrc' file will be synced to the 'linux_ubuntu/' folder.
	.gitDir = "dirwin_os/",


	// The new name for the file inside the git repo.
	// Example: The '.bashrc' file will be renamed to 'bashrc.sh' in the git repo.
	.newName = "bashrc.sh",
},

Multi Configuration Example

{
	.fileName = ".bashrc",
	.systemDirectory = "home/pritam/",
	.gitDir = "dirwin_os/",
	.newName = "bashrc.sh",
},

{
	.fileName = ".bashrc",
	.systemDirectory = "home/pritam/",
	.gitDir = "dirwin_os/",
	.newName = "bashrc.sh",
}

License

MIT License

puchcon's People

Contributors

pritam12426 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.