git2megaignore

Crates.iogit2megaignore
lib.rsgit2megaignore
version0.1.0
sourcesrc
created_at2024-12-09 20:01:59.926591
updated_at2024-12-09 20:01:59.926591
descriptionConvert a .gitignore file to a .megaignore file
homepage
repositoryhttps://github.com/Farfi55/git2megaignore.git
max_upload_size
id1477754
size20,673
Alessio Farfaglia (Farfi55)

documentation

README

Gitignore to Megaignore converter

This is a simple tool to convert a .gitignore file to a .megaignore file. The .megaignore file is used by the Mega cloud storage service to exclude files from being uploaded to the cloud.

You can read more about the .megaignore file format here.

Installation

cargo install git2megaignore

Usage

cd /path/to/your/project
git2megaignore

This will create a .megaignore file in the current directory.

Mass conversion

you can run the following script to convert all .gitignore files in the subdirectories of the current directory to .megaignore files:

find . -name .gitignore -execdir git2megaignore \;
Commit count: 3

cargo fmt